/* Trust & Security Section Styles */
:root {
  --trust-orange: #ff7b00;
  --trust-orange-light: #ffb800;
  --trust-navy: #0a1628;
  --trust-navy-light: #1e3a5f;
  --trust-cyan: #00d4ff;
  --trust-white: #ffffff;
  --trust-gray-light: #f8f9fa;
  --trust-gray: #6c757d;
}

#trust-section {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
    sans-serif;
  background: linear-gradient(135deg, #0a1628 0%, #1a2332 100%);
  min-height: 100vh;
}

/* Technology Section */
.trust-technology-section {
  min-height: 100vh;
  padding: 4rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--trust-navy) 0%, #1a2332 100%);
  overflow: hidden;
}

/* Background effects */
.trust-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: radial-gradient(
      circle at 30% 40%,
      var(--trust-cyan) 0%,
      transparent 40%
    ),
    radial-gradient(circle at 70% 60%, var(--trust-orange) 0%, transparent 40%);
  pointer-events: none;
}

/* Animated particles */
.trust-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.trust-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--trust-cyan);
  border-radius: 50%;
  opacity: 0;
  animation: trustFloatUp 8s linear infinite;
}

.trust-particle:nth-child(odd) {
  background: var(--trust-orange);
  animation-duration: 10s;
}

.trust-particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.trust-particle:nth-child(2) {
  left: 25%;
  animation-delay: 1s;
}
.trust-particle:nth-child(3) {
  left: 40%;
  animation-delay: 2s;
}
.trust-particle:nth-child(4) {
  left: 55%;
  animation-delay: 3s;
}
.trust-particle:nth-child(5) {
  left: 70%;
  animation-delay: 4s;
}
.trust-particle:nth-child(6) {
  left: 85%;
  animation-delay: 5s;
}
.trust-particle:nth-child(7) {
  left: 15%;
  animation-delay: 6s;
}
.trust-particle:nth-child(8) {
  left: 50%;
  animation-delay: 7s;
}

@keyframes trustFloatUp {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.4;
    transform: translateY(90vh) scale(1);
  }
  90% {
    opacity: 0.4;
    transform: translateY(10vh) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(0vh) scale(0);
  }
}

.trust-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Header */
.trust-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.trust-section-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.2;
}

.trust-section-header h2 span {
  background: linear-gradient(
    135deg,
    var(--trust-orange),
    var(--trust-orange-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trust-section-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Main Content Layout - Adjusted proportions */
.trust-content {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 2.5rem;
  align-items: stretch;
  max-height: 480px;
}

/* Left Side - Trust Pillars (now 4 items) */
.trust-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 450px;
}

.trust-pillar {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Pillar hover and active states */
.trust-pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 123, 0, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.trust-pillar:hover::before {
  left: 100%;
}

.trust-pillar:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 123, 0, 0.5);
  box-shadow: 0 10px 30px rgba(255, 123, 0, 0.1);
}

.trust-pillar.active {
  background: linear-gradient(
    135deg,
    rgba(255, 123, 0, 0.15),
    rgba(255, 184, 0, 0.08)
  );
  border-color: var(--trust-orange);
  box-shadow: 0 0 30px rgba(255, 123, 0, 0.2);
  transform: translateX(15px);
}

/* Pillar content */
.trust-pillar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.trust-pillar-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--trust-orange),
    var(--trust-orange-light)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-pillar-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.trust-pillar-text {
  flex: 1;
}

.trust-pillar-label {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.trust-pillar-sublabel {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Right Side - Detail Panel (more space) */
.trust-detail-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  height: 450px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.trust-detail-panel::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 123, 0, 0.03), transparent);
}

.trust-detail-content {
  position: relative;
  z-index: 1;
  animation: trustFadeIn 0.5s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@keyframes trustFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trust-detail-content h3 {
  font-size: 1.6rem;
  color: white;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.trust-detail-content .trust-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.trust-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.trust-feature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.trust-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.trust-feature-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(
    135deg,
    var(--trust-orange),
    var(--trust-orange-light)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-feature-icon svg {
  width: 14px;
  height: 14px;
  fill: white;
}

.trust-feature-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Bottom Statement */
.trust-statement {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.trust-statement h4 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.trust-statement h4 span {
  color: var(--trust-orange-light);
}

.trust-statement p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 968px) {
  .trust-content {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .trust-pillars {
    margin-bottom: 2rem;
    height: auto;
  }

  .trust-detail-panel {
    height: auto;
    min-height: 400px;
  }

  .trust-statement {
    padding: 1.5rem;
  }

  .trust-statement h4 {
    font-size: 1.3rem;
  }

  .trust-statement p {
    font-size: 1rem;
  }
}
