/* RaqmyConnect Product Page Specific Styles */

.product-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 120px 20px 40px;
}

.product-hero .hero-copy {
  flex: 1;
  max-width: 600px;
  z-index: 10;
}

.product-hero h1 {
  font-size: min(3.5rem, 8vw);
  line-height: 1.2;
  margin: 20px 0;
  color: var(--ink);
}

.product-hero h1 em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.product-hero > .hero-copy > p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 20px 0 30px;
  max-width: 500px;
}

.info-section {
  padding: 80px 20px;
}

.info-section.alt {
  background: rgba(6, 26, 46, 0.03);
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
}

.info-section .section-number {
  display: inline-block;
  font-size: 5rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(217, 166, 46, 0.1);
  margin-bottom: -20px;
  font-family: Manrope, sans-serif;
}

.info-section .eyebrow {
  display: inline-block;
  margin: 20px 0;
  margin-top: 0;
}

.info-section h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 15px 0 25px;
  color: var(--ink);
}

.info-section h2 em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.info-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 15px;
}

.info-section p:last-child {
  margin-bottom: 0;
}

.attribution-section {
  padding: 60px 20px;
  background: rgba(240, 198, 92, 0.05);
  text-align: center;
}

.attribution-content {
  max-width: 600px;
  margin: 0 auto;
}

.attribution-content h3 {
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 15px;
}

.attribution-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 10px;
}

.attribution-content p strong {
  color: var(--ink);
  font-weight: 600;
}

.arabic-attribution {
  direction: rtl;
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-hero {
    flex-direction: column;
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .product-hero .hero-copy {
    max-width: 100%;
  }

  .product-hero h1 {
    font-size: 2.5rem;
  }

  .product-hero > .hero-copy > p {
    font-size: 1rem;
  }

  .hero-art {
    margin-top: 40px;
  }

  .info-section {
    padding: 60px 20px;
  }

  .info-section h2 {
    font-size: 2rem;
  }

  .info-section p {
    font-size: 0.95rem;
  }
}

/* Reveal animation */
.reveal.revealed {
  animation: revealUp 0.8s ease-out forwards;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service grid for features section */
#features .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

#features .service-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}

#features .service-card:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

#features .service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

#features .service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--ink);
}

#features .service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Steps section */
#how-it-works .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

#how-it-works .steps article {
  padding: 30px;
  border-left: 4px solid var(--gold);
  transition: all 0.3s;
}

#how-it-works .steps article:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#how-it-works .steps article span {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 10px;
  font-family: Manrope, sans-serif;
}

#how-it-works .step-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
  color: var(--gold);
}

#how-it-works .steps h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--ink);
}

#how-it-works .steps p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Ensure footer links work properly */
.footer-links a[href*="privacy"],
.footer-links a[href*="terms"] {
  color: inherit;
  transition: color 0.3s;
}

.footer-links a[href*="privacy"]:hover,
.footer-links a[href*="terms"]:hover {
  color: var(--gold2);
}

/* Print styles */
@media print {
  .navbar,
  .social-links,
  .cursor-glow,
  .page-noise {
    display: none;
  }
}
