/* /app/static/css/details.css */

/* Hero Section */
.details-hero {
  padding-top: 4rem; /* 64px */
  padding-bottom: 4rem; /* 64px */
  background-image: linear-gradient(to bottom right, #294b6a, #1a365d);
}

.details-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem; /* 16px */
  padding-right: 1rem; /* 16px */
}

.details-content {
  max-width: 48rem; /* 768px */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #ffffff;
}

.details-title {
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem; /* 36px */
  font-weight: 700;
  margin-bottom: 1rem; /* 16px */
  line-height: 1.25;
}

.details-description {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
  color: #e5e7eb; /* gray-200 */
  margin-bottom: 2rem; /* 32px */
  line-height: 1.625;
}

.brand-name {
  font-weight: 700;
  color: #1ce1ff;
}

/* Call-to-Action */
.cta-container {
  margin-bottom: 2.5rem; /* 40px */
}

.cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: #294b6a;
  padding: 1rem 2.5rem; /* 16px 40px */
  border-radius: 0.75rem; /* 12px */
  font-weight: 600;
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
  transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.cta-button:hover {
  opacity: 0.9;
}

/* Benefits Section */
.benefits-card {
  text-align: left;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem; /* 16px */
  padding: 1.5rem; /* 24px */
  margin-bottom: 3rem; /* 48px */
}

.benefits-title {
  font-weight: 700;
  margin-bottom: 1rem; /* 16px */
  font-size: 1.25rem; /* 20px */
  line-height: 1.75rem; /* 28px */
  text-align: center;
}

.benefits-list > *:not(:last-child) {
  margin-bottom: 0.75rem; /* 12px */
}

.benefit-item {
  display: flex;
  gap: 0.75rem; /* 12px */
  align-items: flex-start;
}

.benefit-icon {
  color: #4ade80; /* green-400 */
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
  margin-top: 0.25rem; /* 4px */
  flex-shrink: 0;
}

.benefit-text {
  color: #e5e7eb; /* gray-200 */
}

/* Contract Preview Section */
.preview-card {
  background-color: #ffffff;
  border-radius: 1rem; /* 16px */
  padding: 1rem; /* 16px */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.preview-title {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
  font-weight: 600;
  color: #1f2937; /* gray-800 */
  margin-bottom: 1rem; /* 16px */
  text-align: center;
}

.contract-preview-iframe {
  border-radius: 0.75rem; /* 12px */
  overflow: hidden;
  height: 600px;
}

.preview-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Final CTA Section */
.final-cta-section {
  padding-top: 4rem; /* 64px */
  padding-bottom: 4rem; /* 64px */
  background-color: #f3f4f6; /* gray-100 */
  color: #294b6a;
}

.final-cta-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem; /* 16px */
  padding-right: 1rem; /* 16px */
  text-align: center;
}

.final-cta-title {
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem; /* 36px */
  font-weight: 700;
  margin-bottom: 1.5rem; /* 24px */
  text-align: center;
}

.final-cta-description {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
  color: #4b5563; /* gray-600 */
  margin-bottom: 2rem; /* 32px */
  max-width: 42rem; /* 672px */
  margin-left: auto;
  margin-right: auto;
}

.final-cta-button {
  display: inline-block;
  background-color: #294b6a;
  color: #ffffff;
  padding: 0.75rem 2rem; /* 12px 32px */
  border-radius: 0.75rem; /* 12px */
  font-weight: 600;
  transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.final-cta-button:hover {
  opacity: 0.9;
}


/* Guest view styling for blurred preview */
.guest-view {
  position: relative;
}

.blur-hint-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.blur-hint-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 320px;
  pointer-events: auto;
}

.blur-hint-content i {
  display: block;
  margin: 0 auto 0.75rem;
}

.blur-hint-content p {
  margin-bottom: 1.5rem;
  color: #6b7280;
}

.blur-hint-content a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(41, 75, 106, 0.4);
}

/* Responsive styles */

/* Medium screens (tablets) */
@media (min-width: 768px) {
  .details-hero {
    padding-top: 6rem; /* 96px */
    padding-bottom: 6rem; /* 96px */
  }

  .details-container, .final-cta-container {
    padding-left: 1.5rem; /* 24px */
    padding-right: 1.5rem; /* 24px */
  }

  .details-title {
    font-size: 2.25rem; /* 36px */
    line-height: 2.5rem; /* 40px */
  }

  .details-description, .final-cta-description {
    font-size: 1.25rem; /* 20px */
    line-height: 1.75rem; /* 28px */
  }

  .benefits-card {
    padding: 2rem; /* 32px */
  }

  .final-cta-section {
    padding-top: 5rem; /* 80px */
    padding-bottom: 5rem; /* 80px */
  }

  .final-cta-title {
    font-size: 2.25rem; /* 36px */
    line-height: 2.5rem; /* 40px */
  }

  .final-cta-button {
    padding: 1rem 2.5rem; /* 16px 40px */
  }
}

/* Large screens (desktops) */
@media (min-width: 1024px) {
  .details-title {
    font-size: 3rem; /* 48px */
    line-height: 1;
  }
}

/* Common container styles for larger screens */
@media (min-width: 640px) {
  .details-container, .final-cta-container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .details-container, .final-cta-container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .details-container, .final-cta-container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .details-container, .final-cta-container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {
  .details-container, .final-cta-container {
    max-width: 1536px;
  }
}