/* CTF AI Page Styles */

.ctf-page {
  position: relative;
  min-height: 100vh;
  background-color: #030712;
  color: #f9fafb;
  overflow-x: hidden;
}

.ctf-page > *:not(.landing-video-bg):not(.landing-video-overlay) {
  position: relative;
  z-index: 2;
}

/* Hero Section */
.ctf-hero {
  position: relative;
  padding: 120px 0 80px;
  z-index: 2;
}

.ctf-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.ctf-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ctf-hero-subtitle {
  display: block;
  font-size: 2.5rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ctf-hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #d1d5db;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ctf-hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.ctf-cta-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  padding: 14px 32px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4) !important;
  transition: all 0.3s ease !important;
}

.ctf-cta-primary:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
  box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6) !important;
  transform: translateY(-2px);
}

.ctf-cta-secondary {
  border: 2px solid #8b5cf6 !important;
  color: #a78bfa !important;
  padding: 12px 32px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.ctf-cta-secondary:hover {
  background-color: rgba(139, 92, 246, 0.1) !important;
  border-color: #a78bfa !important;
  transform: translateY(-2px);
}

.ctf-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.ctf-badge-link {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ctf-badge-link:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

.ctf-badge {
  height: 50px;
  width: auto;
  filter: brightness(0.95);
}

/* Stats Section */
.ctf-stats {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  z-index: 1;
}

.ctf-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.ctf-stat-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
}

.ctf-stat-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-4px);
}

.ctf-stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: #a78bfa;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.ctf-stat-label {
  font-size: 1rem;
  color: #d1d5db;
  font-weight: 500;
}

/* Section Titles */
.ctf-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ctf-section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: #d1d5db;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTF Categories */
.ctf-categories {
  position: relative;
  padding: 80px 0;
  z-index: 1;
}

.ctf-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.ctf-category-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(124, 58, 237, 0.02) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ctf-category-card:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
}

.ctf-category-icon {
  color: #8b5cf6;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.ctf-category-icon svg {
  font-size: 3rem;
}

.ctf-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 1rem;
}

.ctf-category-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #d1d5db;
}

/* Features Section */
.ctf-features {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(124, 58, 237, 0.01) 100%);
  z-index: 1;
}

.ctf-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.ctf-feature-card {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.ctf-feature-card:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(139, 92, 246, 0.25);
}

.ctf-feature-icon {
  color: #8b5cf6;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.ctf-feature-icon svg {
  font-size: 2.5rem;
}

.ctf-feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 1rem;
}

.ctf-feature-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #d1d5db;
}

/* Shannon V1 Model Section */
.ctf-model {
  position: relative;
  padding: 80px 0;
  z-index: 1;
}

.ctf-model-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}

.ctf-model-text {
  max-width: 700px;
}

.ctf-model-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.ctf-model-features {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.ctf-model-features li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d1d5db;
  padding-left: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

.ctf-model-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #8b5cf6;
  font-weight: 700;
  font-size: 1.3rem;
}

.ctf-model-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ctf-avatar-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

/* CTF Tools Section */
.ctf-tools {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(124, 58, 237, 0.01) 100%);
  z-index: 1;
}

.ctf-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.ctf-tool-badge {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 600;
  color: #a78bfa;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.ctf-tool-badge:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-3px);
  color: #c4b5fd;
}

/* CTF Platforms Section */
.ctf-platforms {
  position: relative;
  padding: 80px 0;
  z-index: 1;
}

.ctf-platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.ctf-platform-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(124, 58, 237, 0.02) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.ctf-platform-card:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.25);
}

.ctf-platform-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 0.75rem;
}

.ctf-platform-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #d1d5db;
}

/* FAQ Section */
.ctf-faq {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(124, 58, 237, 0.01) 100%);
  z-index: 1;
}

.ctf-faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 3rem;
}

.ctf-faq-item {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.ctf-faq-item:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateX(8px);
}

.ctf-faq-question {
  font-size: 1.3rem;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.ctf-faq-answer {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d1d5db;
}

/* Bottom CTA Section */
.ctf-bottom-cta {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.3);
  z-index: 1;
}

.ctf-cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.ctf-cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ctf-cta-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #d1d5db;
  margin-bottom: 2.5rem;
}

.ctf-cta-button {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  padding: 16px 40px !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 30px rgba(139, 92, 246, 0.5) !important;
  transition: all 0.3s ease !important;
}

.ctf-cta-button:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.7) !important;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 960px) {
  .ctf-hero-title {
    font-size: 2.5rem;
  }

  .ctf-hero-subtitle {
    font-size: 1.8rem;
  }

  .ctf-hero-description {
    font-size: 1.1rem;
  }

  .ctf-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ctf-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ctf-features-grid {
    grid-template-columns: 1fr;
  }

  .ctf-model-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ctf-model-avatar {
    order: -1;
  }

  .ctf-platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ctf-section-title {
    font-size: 2rem;
  }

  .ctf-cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .ctf-hero {
    padding: 80px 0 60px;
  }

  .ctf-hero-title {
    font-size: 2rem;
  }

  .ctf-hero-subtitle {
    font-size: 1.5rem;
  }

  .ctf-hero-description {
    font-size: 1rem;
  }

  .ctf-hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .ctf-cta-primary,
  .ctf-cta-secondary {
    width: 100%;
    max-width: 300px;
  }

  .ctf-trust-badges {
    gap: 1rem;
  }

  .ctf-badge {
    height: 40px;
  }

  .ctf-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ctf-stat-value {
    font-size: 2.5rem;
  }

  .ctf-categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ctf-platforms-grid {
    grid-template-columns: 1fr;
  }

  .ctf-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .ctf-section-title {
    font-size: 1.75rem;
  }

  .ctf-section-subtitle {
    font-size: 1.1rem;
  }

  .ctf-cta-title {
    font-size: 2rem;
  }

  .ctf-cta-description {
    font-size: 1.1rem;
  }

  .ctf-faq-question {
    font-size: 1.1rem;
  }

  .ctf-faq-answer {
    font-size: 1rem;
  }
}
