@import url("./variables.css");

/* SEO Text Block */
.seo-text-block {
  max-width: 980px;
  margin: 3rem auto 2rem;
  padding: 2.5rem;
  background: rgba(26, 26, 46, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.seo-text-block__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  color: #ffffff;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(139, 92, 246, 0.3);
  position: relative;
}

.seo-text-block__title::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--header-accent, #8b5cf6) 0%, transparent 100%);
}

.seo-text-block__intro {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem 0;
  text-align: justify;
}

.seo-text-block__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.seo-text-block__bullets li {
  padding: 1rem 1.25rem;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 8px;
  border-left: 3px solid rgba(139, 92, 246, 0.4);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  position: relative;
  padding-left: 2.5rem;
  transition: all 0.2s;
}

.seo-text-block__bullets li::before {
  content: '✓';
  position: absolute;
  left: 1rem;
  color: var(--header-accent, #8b5cf6);
  font-weight: bold;
  font-size: 18px;
}

.seo-text-block__bullets li:hover {
  background: rgba(139, 92, 246, 0.12);
  border-left-color: rgba(139, 92, 246, 0.6);
  transform: translateX(4px);
}

.seo-text-block__section {
  margin: 2.5rem 0;
  padding: 2rem;
  background: rgba(139, 92, 246, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.seo-text-block__section-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #ffffff;
  padding-left: 1rem;
  border-left: 3px solid var(--header-accent, #8b5cf6);
}

.seo-text-block__section-text {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-align: justify;
}

.seo-text-block__disclaimer {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.seo-text-block__disclaimer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* FAQ Block */
.seo-faq-block {
  max-width: 980px;
  margin: 3rem auto 2rem;
  padding: 2.5rem;
  background: rgba(26, 26, 46, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.seo-faq-block__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 2rem 0;
  color: #ffffff;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(139, 92, 246, 0.3);
  position: relative;
}

.seo-faq-block__title::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--header-accent, #8b5cf6) 0%, transparent 100%);
}

.seo-faq-block__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.seo-faq-block__item {
  background: rgba(139, 92, 246, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
}

.seo-faq-block__item:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.12);
}

.seo-faq-block__item[open] {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.4);
}

.seo-faq-block__question {
  padding: 1.25rem 1.5rem;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  transition: color 0.2s;
}

.seo-faq-block__question:hover {
  color: var(--header-accent, #8b5cf6);
}

.seo-faq-block__question::-webkit-details-marker {
  display: none;
}

.seo-faq-block__icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--header-accent, #8b5cf6);
}

.seo-faq-block__item[open] .seo-faq-block__icon {
  transform: rotate(180deg);
}

.seo-faq-block__answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 15px;
}

.seo-faq-block__answer p {
  margin: 0;
}

/* Internal Links Block */
.seo-internal-links {
  max-width: 980px;
  margin: 2rem auto 3rem;
  padding: 2rem;
  background: rgba(26, 26, 46, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.seo-internal-links__title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  color: #ffffff;
  padding-left: 1rem;
  border-left: 3px solid var(--header-accent, #8b5cf6);
}

.seo-internal-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.seo-internal-links__link {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background: rgba(139, 92, 246, 0.1);
  color: var(--header-accent, #8b5cf6);
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.seo-internal-links__link:hover {
  background: rgba(139, 92, 246, 0.2);
  color: #ffffff;
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .seo-text-block,
  .seo-faq-block,
  .seo-internal-links {
    max-width: 95%;
    padding: 2rem 1.5rem;
  }
  
  .seo-text-block__bullets {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .seo-text-block,
  .seo-faq-block,
  .seo-internal-links {
    padding: 1.5rem 1.25rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .seo-text-block__title,
  .seo-faq-block__title {
    font-size: 24px;
  }
  
  .seo-text-block__section-title {
    font-size: 20px;
  }
  
  .seo-text-block__section {
    padding: 1.5rem;
  }
  
  .seo-text-block__bullets li {
    padding: 0.875rem 1rem;
    padding-left: 2.25rem;
  }
  
  .seo-faq-block__question {
    padding: 1rem 1.25rem;
    font-size: 15px;
  }
  
  .seo-faq-block__answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: 14px;
  }
  
  .seo-internal-links {
    padding: 1.5rem 1.25rem;
  }
  
  .seo-internal-links__list {
    gap: 0.5rem;
  }
  
  .seo-internal-links__link {
    padding: 0.5rem 1rem;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .seo-text-block,
  .seo-faq-block,
  .seo-internal-links {
    padding: 1.25rem 1rem;
    margin: 2rem auto 1.5rem;
    border-radius: 12px;
  }
  
  .seo-text-block__title,
  .seo-faq-block__title {
    font-size: 20px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
  }
  
  .seo-text-block__title::before {
    width: 50px;
  }
  
  .seo-text-block__intro {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  
  .seo-text-block__section {
    padding: 1.25rem;
    margin: 2rem 0;
  }
  
  .seo-text-block__section-title {
    font-size: 18px;
    margin-bottom: 0.875rem;
    padding-left: 0.75rem;
  }
  
  .seo-text-block__section-text {
    font-size: 14px;
    line-height: 1.7;
  }
  
  .seo-text-block__bullets {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .seo-text-block__bullets li {
    padding: 0.75rem 0.875rem;
    padding-left: 2rem;
    font-size: 13px;
    line-height: 1.6;
  }
  
  .seo-text-block__bullets li::before {
    left: 0.75rem;
    font-size: 16px;
  }
  
  .seo-faq-block__item {
    margin-bottom: 1rem;
  }
  
  .seo-faq-block__question {
    padding: 0.875rem 1rem;
    font-size: 14px;
  }
  
  .seo-faq-block__answer {
    padding: 0 1rem 1rem 1rem;
    font-size: 13px;
    line-height: 1.6;
  }
  
  .seo-internal-links {
    padding: 1.25rem 1rem;
  }
  
  .seo-internal-links__title {
    font-size: 20px;
    margin-bottom: 1rem;
  }
  
  .seo-internal-links__list {
    gap: 0.5rem;
  }
  
  .seo-internal-links__link {
    padding: 0.625rem 1rem;
    font-size: 12px;
    white-space: normal;
    word-wrap: break-word;
  }
}

@media (max-width: 320px) {
  .seo-text-block,
  .seo-faq-block,
  .seo-internal-links {
    padding: 1rem 0.75rem;
    margin: 1.5rem auto 1rem;
    border-radius: 10px;
  }
  
  .seo-text-block__title,
  .seo-faq-block__title {
    font-size: 18px;
    margin-bottom: 1rem;
  }
  
  .seo-text-block__intro {
    font-size: 13px;
  }
  
  .seo-text-block__section {
    padding: 1rem;
  }
  
  .seo-text-block__section-title {
    font-size: 16px;
  }
  
  .seo-text-block__section-text {
    font-size: 13px;
  }
  
  .seo-text-block__bullets li {
    padding: 0.625rem 0.75rem;
    padding-left: 1.75rem;
    font-size: 12px;
  }
  
  .seo-faq-block__question {
    font-size: 13px;
  }
  
  .seo-faq-block__answer {
    font-size: 12px;
  }
  
  .seo-internal-links__title {
    font-size: 18px;
  }
  
  .seo-internal-links__link {
    font-size: 11px;
    padding: 0.5rem 0.875rem;
  }
}


