/* =======================================================
  PAGE REFERENCEMENT
======================================================== */

/* Hero Section */
.ref-hero {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.7) 0%, rgba(0, 86, 179, 0.7) 100%), 
              url('../img/referencement.png') center/cover;
  background-attachment: fixed;
  padding: 150px 0 100px 0;
  position: relative;
  color: #fff;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.ref-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/referencement.png') center/cover;
  /* filter: blur(3px); */
  z-index: 0;
}

.ref-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.5) 0%, rgba(0, 86, 179, 0.5) 10%);
  z-index: 1;
}

.ref-hero-content {
  position: relative;
  z-index: 2;
}

.ref-hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ref-hero-subtitle {
  font-size: 1.4rem;
  opacity: 0.95;
  margin-bottom: 30px;
  line-height: 1.8;
}

.btn-ref-primary {
  background: linear-gradient(135deg, #ff689b 0%, #ff5a7d 100%);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 106, 155, 0.3);
}

.btn-ref-primary:hover {
  background: linear-gradient(135deg, #ff5a7d 0%, #ff4166 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 106, 155, 0.4);
  color: #fff !important;
  text-decoration: none;
}

/* Why Section */
.ref-why {
  padding: 90px 0;
  background: #fbfcfe;
}

.ref-why-content {
  padding: 20px;
}

.ref-section-title {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
}

.ref-why-text {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.ref-benefits-list {
  list-style: none;
  padding: 0;
}

.ref-benefits-list li {
  padding: 15px 0;
  font-size: 1.05rem;
  color: #555;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
}

.ref-benefits-list li:last-child {
  border-bottom: none;
}

.ref-check-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  margin-right: 15px;
  font-weight: bold;
  flex-shrink: 0;
}

.ref-flyer-container {
  text-align: center;
  padding: 20px;
}

.ref-flyer-image {
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  max-height: 400px;
  object-fit: cover;
}

.ref-flyer-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Approach Section */
.ref-approach {
  padding: 90px 0;
  background: #fff;
}

.ref-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.ref-section-subtitle {
  font-size: 1.1rem;
  color: #999;
  margin-top: 10px;
}

.ref-method-box {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  margin: 20px 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid #e9ecef;
}

.ref-method-box:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #f0f7ff 0%, #effbff 100%);
}

.ref-method-icon {
  font-size: 3.5rem;
  color: #007bff;
  margin-bottom: 20px;
  display: inline-block;
  transition: all 0.3s ease;
}

.ref-method-box:hover .ref-method-icon {
  color: #ff689b;
  transform: scale(1.1) rotate(5deg);
}

.ref-method-box h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.ref-method-box p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Platforms Section */
.ref-platforms {
  padding: 90px 0;
  background: #fff;
}

.ref-platform-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  margin: 20px 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-top: 4px solid #007bff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ref-platform-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.ref-platform-google {
  border-top-color: #4285f4;
}

.ref-platform-yango {
  border-top-color: #e90303;
}

.ref-platform-snapchat {
  border-top-color: #fdf908;
}

.ref-platform-header {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f3ff 100%);
  padding: 30px 20px;
  text-align: center;
  border-bottom: 2px solid #e9ecef;
}

.ref-platform-google .ref-platform-header {
  background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%);
}

.ref-platform-yango .ref-platform-header {
  background: linear-gradient(135deg, #fffbea 0%, #fff9d6 100%);
}

.ref-platform-snapchat .ref-platform-header {
  background: linear-gradient(135deg, #fffeb3 0%, #fffd99 100%);
}

.ref-platform-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: inline-block;
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ref-platform-google .ref-platform-icon {
  color: #4285f4;
}

.ref-platform-yango .ref-platform-icon {
  color: #ff0000;
}

.ref-platform-snapchat .ref-platform-icon {
  color: #fffb00;
}

.ref-platform-header h3 {
  font-size: 1.6rem;
  margin: 15px 0 0 0;
  font-weight: 700;
  color: #333;
}

.ref-platform-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ref-platform-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.6;
}

.ref-platform-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.ref-platform-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.ref-platform-list li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: #555;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.ref-platform-list i {
  margin-right: 10px;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.ref-platform-google .ref-platform-list i {
  color: #4285f4;
}

.ref-platform-yango .ref-platform-list i {
  color: #ffd600;
}

.ref-platform-snapchat .ref-platform-list i {
  color: #fffc00;
}

/* Benefits Section */
.ref-benefits {
  padding: 90px 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f3ff 100%);
}

.ref-benefit-box {
  background: #fff;
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  margin: 20px 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-left: 4px solid transparent;
}

.ref-benefits .col-md-4:nth-child(1) .ref-benefit-box {
  border-left-color: #007bff;
}

.ref-benefits .col-md-4:nth-child(2) .ref-benefit-box {
  border-left-color: #ff689b;
}

.ref-benefits .col-md-4:nth-child(3) .ref-benefit-box {
  border-left-color: #41cf2e;
}

.ref-benefit-box:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.ref-benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  transition: all 0.3s ease;
}

.ref-benefits .col-md-4:nth-child(1) .ref-benefit-icon {
  color: #007bff;
}

.ref-benefits .col-md-4:nth-child(2) .ref-benefit-icon {
  color: #ff689b;
}

.ref-benefits .col-md-4:nth-child(3) .ref-benefit-icon {
  color: #41cf2e;
}

.ref-benefit-box:hover .ref-benefit-icon {
  transform: scale(1.2) rotate(-10deg);
}

.ref-benefit-box h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.ref-benefit-box p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
#cta {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 106, 155, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.ref-cta-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.ref-cta-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.ref-cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.95;
}

.btn-ref-cta {
  background: linear-gradient(135deg, #ff689b 0%, #ff5a7d 100%);
  color: #fff !important;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 16px 45px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.btn-ref-cta:hover {
  background: linear-gradient(135deg, #fff 0%, #fff 100%);
  color: #007bff !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .ref-hero-title {
    font-size: 2rem;
  }

  .ref-hero-subtitle {
    font-size: 1.1rem;
  }

  .ref-section-title {
    font-size: 1.8rem;
  }

  .ref-cta-title {
    font-size: 1.8rem;
  }

  .ref-method-box, .ref-benefit-box, .ref-platform-card {
    margin: 15px 0 !important;
  }

  .ref-platform-header {
    padding: 20px 15px;
  }

  .ref-platform-card h3 {
    font-size: 1.3rem;
  }

  .ref-platform-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}
