/* Crypto Signals Page Styles */

/* Signals Table */
.signals-table {
  margin: 2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  background: var(--color-dark-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.data-table thead {
  background: var(--gradient-primary);
}

.data-table th {
  padding: 1.5rem;
  text-align: left;
  font-weight: 600;
  color: white;
}

.data-table td {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: rgba(94, 114, 228, 0.1);
}

/* How We Work */
.work-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.work-step {
  background: var(--color-dark-secondary);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(94, 114, 228, 0.2);
  transition: var(--transition);
}

.work-step:hover {
  transform: translateY(-5px);
  border-color: var(--color-blue);
  box-shadow: 0 10px 30px rgba(94, 114, 228, 0.2);
}

.work-step__number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.work-step__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.work-step__description {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* FAQ */
.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-dark-secondary);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(94, 114, 228, 0.1);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--color-blue);
  font-weight: 300;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0;
  padding: 1rem 0;
}

/* Related Pages */
.related-pages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.related-card {
  background: var(--color-dark-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: block;
  position: relative;
}

.related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Icon-based cards (no images) */
.related-card--icon {
  padding: 2.5rem 2rem;
  text-align: center;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.related-card--icon[data-theme="green"] {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.05) 100%);
  border-color: rgba(16, 185, 129, 0.2);
}

.related-card--icon[data-theme="green"]:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.related-card--icon[data-theme="orange"] {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.2);
}

.related-card--icon[data-theme="orange"]:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
}

.related-card--icon[data-theme="purple"] {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
  border-color: rgba(139, 92, 246, 0.2);
}

.related-card--icon[data-theme="purple"]:hover {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.related-card--icon[data-theme="blue"] {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
  border-color: rgba(59, 130, 246, 0.2);
}

.related-card--icon[data-theme="blue"]:hover {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.related-card__icon {
  margin-bottom: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-card--icon:hover .related-card__icon {
  transform: scale(1.1) rotate(5deg);
}

.related-card--icon h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 1rem 0;
  padding: 0;
  transition: color 0.3s ease;
}

.related-card--icon[data-theme="green"]:hover h3 {
  color: #10b981;
}

.related-card--icon[data-theme="orange"]:hover h3 {
  color: #f59e0b;
}

.related-card--icon[data-theme="purple"]:hover h3 {
  color: #8b5cf6;
}

.related-card--icon[data-theme="blue"]:hover h3 {
  color: #3b82f6;
}

.related-card--icon p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  padding: 0;
  flex-grow: 1;
}

.related-card__arrow {
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  margin-top: auto;
}

.related-card--icon[data-theme="green"] .related-card__arrow {
  color: #10b981;
}

.related-card--icon[data-theme="orange"] .related-card__arrow {
  color: #f59e0b;
}

.related-card--icon[data-theme="purple"] .related-card__arrow {
  color: #8b5cf6;
}

.related-card--icon[data-theme="blue"] .related-card__arrow {
  color: #3b82f6;
}

.related-card--icon:hover .related-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Legacy cards with images */
.related-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.related-card h3 a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

.related-card h3 a:hover {
  color: var(--color-blue);
}

.related-card p {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* SEO Text */
.seo-text {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.seo-text__content {
  padding: 0;
}

/* Text Blocks with Images */
.text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 3rem;
  background: var(--color-dark-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(94, 114, 228, 0.15);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.text-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.text-block:hover {
  border-color: var(--color-blue);
  box-shadow: 0 8px 25px rgba(94, 114, 228, 0.15);
}

.text-block__text {
  flex: 1;
  z-index: 1;
  position: relative;
}

.text-block__image {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
  position: relative;
}

.text-block__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.text-block__image:hover img {
  transform: scale(1.05);
}

.text-block--reverse {
  grid-template-columns: 1fr 1fr;
}

.text-block--reverse .text-block__image {
  order: -1;
}

.text-block h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--color-text);
}

.text-block p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.text-block ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.text-block ul li {
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  position: relative;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.text-block ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: bold;
  font-size: 1.1rem;
}

.text-content {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.text-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: rgba(224, 224, 255, 0.85);
}

.text-content p:last-child {
  margin-bottom: 0;
}

/* SEO H2 Başlıkları - section-title'dan daha küçük */
.text-content h2,
.text-content .section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(94, 114, 228, 0.2);
  position: relative;
  text-align: left;
}

.text-content h2:first-child,
.text-content .section-title:first-child {
  margin-top: 0;
}

.text-content h2::before,
.text-content .section-title::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
}

/* SEO metnindeki listeler */
.text-content ul {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.text-content ul li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  color: rgba(224, 224, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.6;
}

.text-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-blue);
  font-weight: 600;
  font-size: 1.2rem;
}

/* Content Image */
.content-image {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  display: block;
}

/* Hero Image */
.hero__image {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Lead Form Section */
.lead-form-section {
  padding: 4rem 0;
  margin: 4rem 0;
  border-radius: var(--radius-lg);
}

.lead-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.lead-form-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-form input,
.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(26, 31, 46, 0.6);
  border: 1px solid rgba(94, 114, 228, 0.25);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 1rem;
  box-shadow: none;
  outline: none;
  color-scheme: dark;
}

.lead-form input::placeholder,
.form-control::placeholder {
  color: var(--color-text-secondary);
}

.lead-form input:-webkit-autofill,
.form-control:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px rgba(26, 31, 46, 0.6) inset;
  -webkit-text-fill-color: var(--color-text);
}

.lead-form button {
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .work-steps {
    grid-template-columns: 1fr;
  }

  .related-pages {
    grid-template-columns: 1fr;
  }

  .data-table {
    font-size: 0.9rem;
  }

  .data-table th,
  .data-table td {
    padding: 1rem;
  }

  .text-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
  }

  .text-block--reverse .text-block__image {
    order: 0;
  }

  .text-block__image {
    border-radius: var(--radius-md);
  }

  .text-block h2 {
    font-size: 1.4rem;
  }
}