/* Products Page Custom Styles */

/* ═══════════════ HERO SECTION ═══════════════ */
.products-hero {
  position: relative;
  padding: 180px 0 100px;
  background: radial-gradient(circle at 50% 50%, rgba(16, 36, 75, 0.6) 0%, rgba(6, 11, 25, 1) 100%);
  text-align: center;
  overflow: hidden;
}

.products-hero .hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(42, 169, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

/* Floating Decorative Shapes */
.products-hero .floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.15;
}

.products-hero .shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-1, #2aa9ff);
  top: -50px;
  left: 10%;
  animation: float-around 20s infinite alternate;
}

.products-hero .shape-2 {
  width: 400px;
  height: 400px;
  background: var(--primary-2, #0d6efd);
  bottom: -100px;
  right: 10%;
  animation: float-around 25s infinite alternate-reverse;
}

.products-hero .shape-3 {
  width: 250px;
  height: 250px;
  background: #10b981;
  top: 40%;
  left: 45%;
  animation: float-around 15s infinite alternate;
}

@keyframes float-around {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 30px) scale(1.1); }
}

.products-hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.products-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 169, 255, 0.08);
  border: 1px solid rgba(42, 169, 255, 0.2);
  padding: 8px 16px;
  border-radius: 30px;
  color: #2aa9ff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.products-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.products-hero .hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
  margin: 0 auto 35px;
  line-height: 1.6;
}

.products-hero .hero-cta-buttons {
  display: flex;
  justify-content: center;
}

.products-hero .hero-cta-btn.primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2aa9ff 0%, #0d6efd 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
  transition: all 0.3s ease;
}

.products-hero .hero-cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5);
}

/* ═══════════════ PRODUCTS GRID SHOWCASE ═══════════════ */
.products-showcase {
  padding: 100px 0;
  background: #060b19;
  position: relative;
}

.products-showcase .container {
  padding-left: 8%;
  padding-right: 8%;
}

.products-showcase .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.products-showcase .section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.products-showcase .section-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Product Card */
.product-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(42, 169, 255, 0.2), transparent, rgba(16, 185, 129, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(42, 169, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-card:hover::before {
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 12px;
  font-weight: 700;
  color: #2aa9ff;
  background: rgba(42, 169, 255, 0.08);
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(42, 169, 255, 0.05);
  border: 1px solid rgba(42, 169, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: #2aa9ff;
  font-size: 28px;
  transition: all 0.3s ease;
}

.product-icon i {
  display: inline-block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
  background: linear-gradient(135deg, #2aa9ff 0%, #0d6efd 100%);
  color: #ffffff;
  transform: scale(1.05);
}

.product-card:hover .product-icon i {
  animation: iconPulse 1s ease-in-out infinite alternate;
}

@keyframes iconPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.15) rotate(5deg); }
}

.product-card h3 {
  font-size: 24px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.product-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.product-features span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-features i {
  color: #10b981;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
}

.product-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-btn {
  color: #2aa9ff;
}

.product-card:hover .product-btn i {
  transform: translateX(4px);
}

/* ═══════════════ DETAILED PRODUCT PAGE STYLING ═══════════════ */
.product-detail-hero {
  position: relative;
  padding: 180px 0 120px;
  background: radial-gradient(circle at 10% 20%, rgba(42, 169, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
              #060b19;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  padding-left: 8%;
  padding-right: 8%;
}

.detail-text h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.detail-badge {
  display: inline-block;
  background: rgba(42, 169, 255, 0.08);
  border: 1px solid rgba(42, 169, 255, 0.2);
  color: #2aa9ff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.detail-tagline {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  line-height: 1.4;
}

.detail-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 35px;
}

/* Detail Visual & Interactive Orbit */
.detail-visual {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-visual:hover img {
  transform: scale(1.04);
}

.detail-visual::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at center, rgba(42, 169, 255, 0.12) 0%, transparent 60%);
  animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.1); opacity: 1; }
}

.visual-icon {
  font-size: 96px;
  color: #2aa9ff;
  filter: drop-shadow(0 0 20px rgba(42, 169, 255, 0.5));
  animation: floatIcon 4s ease-in-out infinite;
  position: relative;
  z-index: 3;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Rotating Decorative Rings */
.detail-visual::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px dashed rgba(42, 169, 255, 0.15);
  border-radius: 50%;
  animation: rotateClockwise 25s linear infinite;
  pointer-events: none;
}

.detail-visual-orbit-inner {
  position: absolute;
  width: 60%;
  height: 60%;
  border: 1px dashed rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  animation: rotateCounter 18s linear infinite;
  pointer-events: none;
}

@keyframes rotateClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateCounter {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* Features Grid */
.detail-features {
  padding: 100px 0;
  background: #060b19;
}

.features-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding-left: 8%;
  padding-right: 8%;
}

.feature-item-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 40px 35px;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.feature-item-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(42, 169, 255, 0.25), transparent, rgba(16, 185, 129, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-item-card:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(42, 169, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-item-card:hover::before {
  opacity: 1;
}

.feature-item-card h4 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.feature-item-card:hover h4 {
  color: #2aa9ff;
}

.feature-item-card p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

/* Tech Stack */
.detail-tech {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.tech-item-chip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-item-chip:hover {
  transform: scale(1.1);
  border-color: #2aa9ff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(42, 169, 255, 0.25);
  background: rgba(42, 169, 255, 0.03);
}

/* ═══════════════ RESPONSIVE OVERRIDES ═══════════════ */
@media (max-width: 920px) {
  .products-hero {
    padding: 140px 0 70px;
  }
  .products-showcase {
    padding: 70px 0;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .detail-visual {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ═══════════════ NEW LAYOUT DESIGNS & ANIMATIONS ═══════════════ */

/* Background Wave Lines */
.showcase-bg-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

/* Featured Solutions Grid */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

/* Featured Card Styling */
.featured-product-card {
  position: relative;
  background: rgba(10, 22, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 30px;
  text-decoration: none;
  display: block;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.featured-product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(42, 169, 255, 0.3), transparent, rgba(16, 185, 129, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.featured-product-card:hover {
  transform: translateY(-8px);
  background: rgba(10, 22, 42, 0.7);
  border-color: rgba(42, 169, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.featured-product-card:hover::before {
  opacity: 1;
}

.featured-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 10px;
  font-weight: 700;
  color: #2aa9ff;
  letter-spacing: 0.08em;
  background: rgba(42, 169, 255, 0.1);
  border: 1px solid rgba(42, 169, 255, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.featured-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 15px;
}

.featured-icon-box {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(42, 169, 255, 0.15) 0%, rgba(13, 110, 253, 0.15) 100%);
  border: 1px solid rgba(42, 169, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #2aa9ff;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(42, 169, 255, 0.15);
  transition: all 0.3s ease;
}

.featured-product-card:hover .featured-icon-box {
  background: linear-gradient(135deg, #2aa9ff 0%, #0d6efd 100%);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(42, 169, 255, 0.35);
  transform: scale(1.05);
}

.featured-card-body h3 {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 25px;
}

.featured-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.logo-text {
  background: rgba(255, 255, 255, 0.02);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.arrow-next {
  margin-left: auto;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
}

.featured-product-card:hover .arrow-next {
  transform: translateX(4px);
  color: #2aa9ff;
}

/* Ecosystem Vertical Cards Layout */
.product-card-new {
  position: relative;
  background: rgba(10, 22, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.product-card-new::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(42, 169, 255, 0.2), transparent, rgba(16, 185, 129, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.product-card-new:hover {
  transform: translateY(-8px);
  background: rgba(10, 22, 42, 0.7);
  border-color: rgba(42, 169, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-card-new:hover::before {
  opacity: 1;
}

.card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.topbar-left-icon {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.3);
}

.topbar-center-icon {
  font-size: 32px;
  color: #2aa9ff;
  filter: drop-shadow(0 0 12px rgba(42, 169, 255, 0.35));
  background: rgba(42, 169, 255, 0.05);
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(42, 169, 255, 0.1);
  transition: all 0.3s ease;
}

.product-card-new:hover .topbar-center-icon {
  background: linear-gradient(135deg, #2aa9ff 0%, #0d6efd 100%);
  color: #ffffff;
  border-color: transparent;
}

.ecosystem-badge {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card-new h3 {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.product-desc-new {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.features-list-new {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.features-list-new span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}

.features-list-new i {
  color: #10b981;
  font-size: 15px;
}

.card-logos-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.logos-track {
  display: flex;
  gap: 8px;
}

.logo-lbl {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.card-footer-arrow {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
}

.product-card-new:hover .card-footer-arrow {
  transform: translateX(4px);
  color: #2aa9ff;
}

/* Responsive Rules */
@media (max-width: 991px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

