/* Stocks Section */
.stocks-section {
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
  background: linear-gradient(to right, #f5fbff 0%, #ffffff 100%);
}

/* Background Elements */
#background-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#particles-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
}

#curvy-line {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 40%;
  left: 0;
}

.dot-pattern {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(#ccc 1px, transparent 1px);
  background-size: 10px 10px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
}

/* Card */
.stocks-card {
  position: relative;
  display: flex;
  max-width: 1100px;
  margin: auto;
  background: white;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid #e7e7e7;
  overflow: hidden;
  z-index: 2;
}

/* Image */
.stocks-image {
  flex: 1;
  overflow: hidden;
}

.stocks-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.stocks-content {
  flex: 1.2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stocks-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: #000;
}

.stocks-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.stocks-content ul {
  list-style: none;
  margin-bottom: 30px;
}

.stocks-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}

.stocks-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #00c853;
  border-radius: 50%;
}

.buttons {
  display: flex;
  gap: 16px;
}

.btn-primary {
  padding: 14px 28px;
  font-size: 16px;
  background-color: #00c26f;
  border: 2px dashed rgba(0, 194, 111, 0.5);
  color: white;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 194, 111, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #00a95f;
}

.btn-secondary {
  background-color: #eee;
  color: #333;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.btn-secondary:hover {
  background-color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .stocks-card {
    flex-direction: column;
  }
}