/* Components Styles */

/* Features Section */
.features {
  background-color: var(--color-light-gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(201, 147, 131, 0.1);
  position: relative;
}

.feature-icon:before {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.document-icon:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ba745f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><line x1="10" y1="9" x2="8" y2="9"></line></svg>');
}

.risk-icon:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ba745f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 19.1 6.5 19.1 17.5 12 22 4.9 17.5 4.9 6.5 12 2"></polygon><line x1="12" y1="22" x2="12" y2="15.5"></line><polyline points="19.1 6.5 12 11 4.9 6.5"></polyline><line x1="12" y1="11" x2="12" y2="15.5"></line><circle cx="12" cy="15.5" r="2.5"></circle></svg>');
}

.audit-icon:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ba745f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="7.5 4.21 12 6.81 16.5 4.21"></polyline><polyline points="7.5 19.79 7.5 14.6 3 12"></polyline><polyline points="21 12 16.5 14.6 16.5 19.79"></polyline><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line></svg>');
}

.report-icon:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ba745f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.21 15.89A10 10 0 1 1 8 2.83"></path><path d="M22 12A10 10 0 0 0 12 2v10z"></path></svg>');
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.feature-card p {
  color: var(--color-purple-gray);
  line-height: 1.6;
}

/* Frameworks Section */
.frameworks {
  background-color: var(--color-white);
}

.frameworks-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.framework-card {
  background-color: var(--color-light-gray);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.framework-card:hover {
  transform: translateY(-5px);
}

.framework-logo {
  background-color: var(--color-salmon);
  color: var(--color-white);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 24px;
}

.framework-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.framework-card > p {
  margin-bottom: 24px;
  color: var(--color-purple-gray);
}

.framework-features {
  margin-top: 24px;
}

.framework-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--color-purple-gray);
}

.framework-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-terracotta);
  font-weight: 700;
}

/* Dashboard Section */
.dashboard {
  background-color: var(--color-light-gray);
}

.dashboard-preview {
  display: flex;
  gap: 48px;
  align-items: center;
}

.dashboard-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.dashboard-image:hover {
  transform: scale(1.02);
}

.dashboard-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dashboard-feature {
  position: relative;
  padding-left: 48px;
}

.feature-number {
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-salmon);
  opacity: 0.8;
}

.dashboard-feature h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.dashboard-feature p {
  color: var(--color-purple-gray);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--color-white);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.testimonial.active {
  display: block;
  opacity: 1;
}

.testimonial-content {
  background-color: var(--color-light-gray);
  padding: 32px;
  border-radius: 8px;
  position: relative;
}

.testimonial-content:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 48px;
  width: 20px;
  height: 20px;
  background-color: var(--color-light-gray);
  transform: rotate(45deg);
}

.testimonial-content > p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-dark);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  margin-left: 16px;
}

.author-info h4 {
  font-size: 18px;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.author-info p {
  font-size: 14px;
  color: var(--color-purple-gray);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-medium-gray);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.dot.active {
  background-color: var(--color-salmon);
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--color-purple-gray) 0%, var(--color-dark) 100%);
  color: var(--color-white);
}

.contact-content {
  display: flex;
  gap: 64px;
  align-items: center;
}

.contact-text {
  flex: 1;
}

.contact-text h2 {
  font-size: 36px;
  margin-bottom: 24px;
}

.contact-text p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 500px;
}

.contact-form {
  flex: 1;
  background-color: var(--color-white);
  padding: 32px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--color-light-gray);
  border-radius: 4px;
  font-size: 16px;
  color: var(--color-dark);
}

.form-group input::placeholder {
  color: #999;
}

.form-group select {
  color: #999;
}

.form-group select option:not(:first-child) {
  color: var(--color-dark);
}