/* Products Page Styles */

:root {
  --pale-blue: #acc1fc;
  --accent-yellow: #FF6F00;
  --dark-navy: #1f274e;
  --raisin-black: #1f2021;
  --off-white: #f9f6f1;
}

/* Hero Section */
.products-hero {
  background: linear-gradient(165deg, #ffffff 0%, #f8f9fa 100%);
  padding: 120px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.products-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(172, 193, 252, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 111, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.products-hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.products-badge {
  display: inline-block;
  background: rgba(172, 193, 252, 0.15);
  color: var(--dark-navy);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  border: 1px solid rgba(172, 193, 252, 0.4);
  font-family: 'Matter', sans-serif;
  animation: fadeInDown 0.6s ease-out;
}

.products-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: 'Calsans', 'Matter', sans-serif;
  color: var(--raisin-black);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.products-hero h1 .highlight {
  background: linear-gradient(135deg, var(--pale-blue), var(--accent-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.products-hero p {
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--raisin-black);
  font-family: 'Matter', sans-serif;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Products Section */
.products-section {
  padding: 80px 20px;
  background: #ffffff;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.mono-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--pale-blue);
  margin-bottom: 16px;
  text-transform: uppercase;
  font-family: 'Matter', sans-serif;
}

.section-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--raisin-black);
  font-family: 'Calsans', 'Matter', sans-serif;
}

.section-header p {
  font-size: 18px;
  color: var(--raisin-black);
  opacity: 0.7;
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Matter', sans-serif;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  padding: 40px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  animation-delay: calc(var(--item-index, 0) * 0.1s);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--pale-blue);
}

.product-badge {
  display: inline-block;
  background: var(--pale-blue);
  color: var(--dark-navy);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  width: fit-content;
  font-family: 'Matter', sans-serif;
}

.product-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.product-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--raisin-black);
  font-family: 'Calsans', 'Matter', sans-serif;
}

.product-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--raisin-black);
  opacity: 0.7;
  margin-bottom: 24px;
  font-family: 'Matter', sans-serif;
}

.product-features {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
  flex: 1;
}

.product-features h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--pale-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  font-family: 'Matter', sans-serif;
}

.product-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--raisin-black);
  opacity: 0.7;
  padding: 6px 0;
  font-family: 'Matter', sans-serif;
}

.product-features li::before {
  content: '✓';
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.product-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-stats .stat {
  display: inline-block;
  background: rgba(172, 193, 252, 0.1);
  color: var(--dark-navy);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(172, 193, 252, 0.3);
  font-family: 'Matter', sans-serif;
}

/* Integrations Section */
.integrations-section {
  padding: 80px 20px;
  background: linear-gradient(165deg, #f8f9fa 0%, #ffffff 100%);
}

.integrations-container {
  max-width: 1200px;
  margin: 0 auto;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.integration-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  animation-delay: calc(var(--item-index, 0) * 0.05s);
}

.integration-card:hover {
  transform: translateY(-4px);
  border-color: var(--pale-blue);
  box-shadow: 0 10px 20px rgba(172, 193, 252, 0.15);
}

.integration-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--raisin-black);
  font-family: 'Matter', sans-serif;
}

/* Pricing Section */
.products-pricing {
  padding: 80px 20px;
  background: #ffffff;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.pricing-card {
  padding: 40px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  position: relative;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  animation-delay: calc(var(--item-index, 0) * 0.1s);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--pale-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--pale-blue) 0%, rgba(172, 193, 252, 0.9) 100%);
  border-color: var(--pale-blue);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(172, 193, 252, 0.3);
}

.pricing-card.featured h3,
.pricing-card.featured .pricing-desc {
  color: #ffffff;
}

.pricing-card.featured .pricing-price {
  color: #ffffff;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--accent-yellow);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Matter', sans-serif;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--raisin-black);
  font-family: 'Calsans', 'Matter', sans-serif;
}

.pricing-desc {
  font-size: 14px;
  color: var(--raisin-black);
  opacity: 0.7;
  margin-bottom: 24px;
  font-family: 'Matter', sans-serif;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--raisin-black);
}

.price-value {
  font-size: 36px;
  font-weight: 700;
  font-family: 'Calsans', 'Matter', sans-serif;
}

.price-period {
  font-size: 14px;
  opacity: 0.7;
  font-family: 'Matter', sans-serif;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--raisin-black);
  opacity: 0.8;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Matter', sans-serif;
}

.pricing-card.featured .pricing-features li {
  color: #ffffff;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.pricing-card.featured .pricing-features li::before {
  color: #ffffff;
}

.pricing-btn {
  display: inline-block;
  background: transparent;
  color: var(--raisin-black);
  border: 2px solid var(--raisin-black);
  padding: 12px 32px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  font-family: 'Matter', sans-serif;
}

.pricing-btn:hover {
  background: var(--raisin-black);
  color: #ffffff;
}

.pricing-btn.primary {
  background: var(--accent-yellow);
  color: #ffffff;
  border-color: var(--accent-yellow);
}

.pricing-btn.primary:hover {
  background: transparent;
  color: var(--accent-yellow);
  border-color: var(--accent-yellow);
}

.pricing-card.featured .pricing-btn {
  color: #ffffff;
  border-color: #ffffff;
}

.pricing-card.featured .pricing-btn:hover {
  background: #ffffff;
  color: var(--pale-blue);
}

/* CTA Section */
.products-cta {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--pale-blue), var(--accent-yellow));
  text-align: center;
  color: #ffffff;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Calsans', 'Matter', sans-serif;
}

.cta-content p {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.95;
  font-family: 'Matter', sans-serif;
}

.cta-btn {
  display: inline-block;
  background: var(--dark-navy);
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Matter', sans-serif;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: var(--raisin-black);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .products-hero {
    padding: 80px 20px 60px;
  }

  .products-hero h1 {
    font-size: 36px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card {
    padding: 28px;
  }

  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .products-cta {
    padding: 80px 20px;
  }

  .cta-content h2 {
    font-size: 32px;
  }
}

/* Accessibility */
.pricing-btn:focus,
.cta-btn:focus {
  outline: 2px solid var(--dark-navy);
  outline-offset: 2px;
}
