﻿/* --------------------------------------- SECURITY SECTION ---------------------------- */
.security-section-holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 4rem;
  padding: 2rem 0 4rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(88, 241, 255, 0.03) 0%, rgba(95, 131, 240, 0.03) 25%, rgba(229, 75, 218, 0.03) 50%, transparent 70%);
}

.security-content {
  display: flex;
  width: 100%;
  max-width: 1200px;
}

.security-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.security-header-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 2.5rem;
  width: calc(100% - 2rem);
  /* gap: 1.5rem; */
}

.security-titles {
  flex: 1;
  max-width: 650px;
}

.security-image-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 250px;
  margin-top: 0;
}

.security-shield-image {
  width: 100%;
  max-width: 270px;
  height: auto;
}

.security-header {
  display: flex;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 1.5rem;
}

.security-header img {
  width: 2.5rem;
  height: 2.5rem;
  filter: drop-shadow(0 0 8px rgba(88, 241, 255, 0.2));
}

.security-header h2 {
  font-size: 3rem;
  font-weight: 600;
  color: var(--clr-white-90);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.security-subheader {
  text-align: left;
  margin-bottom: 0.5rem;
}

.security-subheader h3 {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--clr-white-80);
  line-height: 1.6;
  margin: 0;
}

.security-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1rem;
  width: calc(100% - 4rem);
  max-width: 700px;
  margin: 0 auto;
}

.security-feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 1.5rem;
  padding: 1rem 1.5rem;
  width: 100%;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.security-feature:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.05);
}

.security-feature img {
  width: 1.5rem;
  height: 1.5rem;
  filter: drop-shadow(0 0 5px rgba(88, 241, 255, 0.2));
  transition: transform 0.3s ease;
}

.security-feature:hover img {
  transform: scale(1.1);
}

.security-feature p {
  font-size: 1.1rem;
  color: var(--clr-white-90);
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.security-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
  text-align: center;
  margin-top: 2rem;
  width: calc(100% - 2rem);
}

.security-footer p {
  font-size: 1.3rem;
  color: var(--clr-white-80);
  margin: 0;
  font-weight: 300;
  max-width: 600px;
}

.security-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 0.8rem;
  color: var(--clr-white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 300;
  padding: 1rem 2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(88, 241, 255, 0.1);
}

.security-link:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border: 1px solid rgba(88, 241, 255, 0.2);
}

.security-link .button-icon {
  /* width: 1.2rem;
  height: 1.2rem; */
  transition: transform 0.3s ease;
  opacity: 0.9;
}

.security-link:hover .button-icon {
  transform: translateX(5px);
}

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

.security-feature {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

.security-feature:nth-child(1) { animation-delay: 0.1s; }
.security-feature:nth-child(2) { animation-delay: 0.2s; }
.security-feature:nth-child(3) { animation-delay: 0.3s; }
.security-feature:nth-child(4) { animation-delay: 0.4s; }
.security-feature:nth-child(5) { animation-delay: 0.5s; }

/* Security Section Animations */
/* Subtle reveal animation for the security header */
.security-header h2 {
  position: relative;
  overflow: hidden;
}
/* Subtle fade-in for security subheader */
.security-subheader h3 {
  opacity: 0;
  animation: fadeIn 1s ease-out 0.8s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Staggered fade-in for security features */
.security-feature {
  opacity: 0;
  transform: translateY(15px);
  animation: securityFeatureIn 0.6s ease-out forwards;
}

@keyframes securityFeatureIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply staggered delays to each feature */
.security-feature:nth-child(1) { animation-delay: 1.0s; }
.security-feature:nth-child(2) { animation-delay: 1.2s; }
.security-feature:nth-child(3) { animation-delay: 1.4s; }
.security-feature:nth-child(4) { animation-delay: 1.6s; }
.security-feature:nth-child(5) { animation-delay: 1.8s; }
.security-feature:nth-child(6) { animation-delay: 2.0s; }
/* Subtle highlight effect on hover */
.security-feature:hover {
  transform: translateY(-3px);
  transition: transform 0.3s ease;
}

/* Checkmark icon animations */
.security-feature img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.security-feature:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 5px rgba(88, 241, 255, 0.5));
}

/* Checkmark icon entrance animation */
@keyframes checkmarkEntrance {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-20deg);
  }
  50% {
    transform: scale(1.2) rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.security-feature.show-checkmark img {
  animation: checkmarkEntrance 0.5s ease-out forwards;
}

/* Footer animation */
.security-footer {
  opacity: 0;
  animation: fadeIn 1s ease-out 2s forwards;
}

.security-link {
  position: relative;
  overflow: hidden;
}

.security-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Media queries for responsiveness */
@media (max-width: 600px) {
  .security-section-holder {
    row-gap: 1rem;
  }
  .security-titles {
    max-width: 100%;
  }
  .security-header h2 {
    font-size: 2.5rem;
  }
  .security-image-container {
    display: none;
  }
  .security-shield-image {
    display: none;
  }
}