/* Feature Pages Styles */

/* Hero Section */
.feature-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.feature-hero h1 {
  font-weight: 900;
  color: #060663;
  margin-bottom: 20px;
  font-size: 3.5rem;
  line-height: 1.2;
}

.feature-hero .lead {
  font-size: 1.3rem;
  color: #495057;
  font-weight: 400;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-hero h1 {
    font-size: 2.5rem;
  }

  .feature-hero .lead {
    font-size: 1.1rem;
  }
}

/* Hero CTA Buttons */
.feature-hero .btn {
  border-radius: 30px;
  min-height: 55px;
  font-weight: bolder;
  font-size: 18px;
  line-height: 40px;
  padding-top: 12px;
  padding-bottom: 12px;
  transition: all 0.3s ease;
}

.feature-hero .btn-primary {
  background: #060663;
  border-color: #060663;
  color: white;
}

.feature-hero .btn-primary:hover {
  background: white;
  border-color: #060663;
  color: #060663;
  transform: translateY(-2px);
}

.feature-hero .btn-primary:active,
.feature-hero .btn-primary:focus {
  background: #060663 !important;
  border-color: #060663 !important;
  color: white !important;
  box-shadow: none !important;
}

.feature-hero .btn-outline-primary {
  background: white;
  border-color: #060663;
  color: #060663;
  border-width: 2px;
}

.feature-hero .btn-outline-primary:hover {
  background: #060663;
  border-color: #060663;
  color: white;
  transform: translateY(-2px);
}

.feature-hero .btn-outline-primary:active,
.feature-hero .btn-outline-primary:focus {
  background: white !important;
  border-color: #060663 !important;
  color: #060663 !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .feature-hero .btn {
    width: 100%;
    margin-bottom: 1rem;
  }

  .feature-hero .ctas .col-md-auto:last-child .btn {
    margin-bottom: 0;
  }
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #060663;
  margin-bottom: 15px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

/* Benefits Cards */
.benefit-card {
  padding: 30px 20px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid transparent;
}

.benefit-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgb(82, 7, 232);
  border-radius: 10px;
}

.benefit-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 15px;
}

.benefit-card p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

.benefit-icon {
  display: inline-block;
}

/* Features Detailed Section */
.features-detailed {
  background: #fff;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.feature-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #060663;
  margin-bottom: 20px;
}

.feature-content p {
  font-size: 1.1rem;
  color: #495057;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  padding: 10px 0 10px 35px;
  position: relative;
  color: #495057;
  font-size: 1.05rem;
  line-height: 1.6;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #060663;
  font-weight: bold;
  font-size: 1.3rem;
}

/* Code Preview */
.code-preview {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}

.code-preview pre {
  background: #2d2d2d;
  color: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-x: auto;
  margin: 0;
}

/* Feature Visual */
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: #f8f9fa;
  border-radius: 12px;
}

/* Feature Timeline */
.feature-timeline {
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
}

.timeline-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-left: 3px solid #060663;
  margin-left: 20px;
  position: relative;
}

.timeline-badge {
  position: absolute;
  left: -15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #060663;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.timeline-content {
  padding-left: 30px;
  color: #495057;
  font-size: 1rem;
}

.timeline-content strong {
  color: #060663;
}

/* Filter Options */
.filter-options h5 {
  color: #060663;
  font-weight: 700;
  margin-bottom: 20px;
}

.filter-badge {
  display: inline-block;
  padding: 8px 15px;
  background: white;
  border: 2px solid #060663;
  border-radius: 20px;
  margin: 5px;
  font-size: 0.9rem;
  color: #060663;
  font-weight: 600;
}

/* Recipient Sources */
.source-card {
  padding: 30px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid #e9ecef;
}

.source-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgb(82, 7, 232);
}

.source-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #212529;
  margin: 15px 0;
}

.source-card p {
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Safety Features */
.safety-card {
  padding: 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid #e9ecef;
}

.safety-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgb(82, 7, 232);
}

.safety-card h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #212529;
  margin: 15px 0;
}

.safety-card p {
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Use Cases */
.use-case-card {
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid #e9ecef;
}

.use-case-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgb(82, 7, 232);
}

.use-case-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 15px;
}

.use-case-card h4 i {
  margin-right: 10px;
  font-size: 1.5rem;
  vertical-align: middle;
}

.use-case-card p {
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.7;
}

/* How It Works Steps */
.step-card {
  padding: 30px 20px;
  text-align: center;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid #e9ecef;
}

.step-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgb(82, 7, 232);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #060663;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.step-card h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 15px;
}

.step-card p {
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* FAQ Section */
.faq-item {
  padding: 25px 0;
  border-bottom: 1px solid #e9ecef;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #060663;
  margin-bottom: 12px;
}

.faq-item p {
  color: #495057;
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(135deg, #060663 0%, #0a0a8f 100%);
  color: white;
  padding: 80px 0;
  border-radius: 20px;
}

.final-cta h2 {
  color: white;
  font-weight: 800;
  font-size: 2.5rem;
}

.final-cta .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

.final-cta .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Final CTA Buttons */
.final-cta .btn {
  border-radius: 30px;
  min-height: 55px;
  font-weight: bolder;
  font-size: 18px;
  line-height: 40px;
  padding-top: 12px;
  padding-bottom: 12px;
  transition: all 0.3s ease;
}

.final-cta .btn-outline-light.white {
  background: white;
  border-color: white;
  color: #060663;
  border-width: 2px;
}

.final-cta .btn-outline-light.white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.final-cta .btn-outline-light.white:active,
.final-cta .btn-outline-light.white:focus {
  background: white !important;
  border-color: white !important;
  color: #060663 !important;
  box-shadow: none !important;
}

.final-cta .btn-outline-light {
  background: transparent;
  border-color: white;
  color: white;
  border-width: 2px;
}

.final-cta .btn-outline-light:hover {
  background: white;
  border-color: white;
  color: #060663;
  transform: translateY(-2px);
}

.final-cta .btn-outline-light:active,
.final-cta .btn-outline-light:focus {
  background: transparent !important;
  border-color: white !important;
  color: white !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .final-cta h2 {
    font-size: 2rem;
  }

  .final-cta .lead {
    font-size: 1rem;
  }

  .final-cta .btn {
    width: 100%;
    margin-bottom: 1rem;
  }

  .final-cta .ctas .col-md-auto:last-child .btn {
    margin-bottom: 0;
  }
}

/* Utility Classes */
.bg-light {
  background-color: #f8f9fa !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Feature Image/Visual Responsive */
@media (max-width: 768px) {
  .feature-image,
  .feature-visual,
  .feature-timeline,
  .filter-options {
    margin-top: 30px;
  }

  .flex-row-reverse {
    flex-direction: column-reverse !important;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefit-card,
.source-card,
.safety-card,
.use-case-card,
.step-card {
  animation: fadeInUp 0.6s ease-out;
}
