/* ============================================
   PAGE CONTAINER & HEADER
   ============================================ */

.page-container {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBackground 20s linear infinite;
  z-index: 0;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.page-header > * {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  animation: slideInUp 0.6s ease-out 0.1s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   QUICK LINKS SECTION
   ============================================ */

.quick-links-section {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.6s ease-out 0.2s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.section-title {
  color: var(--accent-primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-links-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.quick-link {
  display: block;
  padding: 1rem;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  border-left: 4px solid var(--accent-primary);
  transition: all 0.3s ease;
  font-weight: 500;
}

.quick-link:hover {
  background-color: var(--accent-light);
  border-left-color: var(--accent-secondary);
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: scaleIn 0.5s ease-out both;
  cursor: pointer;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent-primary);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: bounce 0.6s ease-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.feature-card:hover .card-icon {
  animation: spin 0.6s ease-out;
}

@keyframes spin {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.1);
  }
}

.card-title {
  color: var(--accent-primary);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-arrow {
  color: var(--accent-secondary);
  font-size: 1.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.feature-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(5px);
}

/* ============================================
   INFO SECTION
   ============================================ */

.info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid;
  animation: slideInRight 0.6s ease-out both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.info-card h3 {
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.info-note {
  background-color: var(--accent-light);
  border-left-color: #2196f3;
}

.info-success {
  background-color: rgba(40, 167, 69, 0.1);
  border-left-color: #28a745;
}

.info-warning {
  background-color: rgba(255, 193, 7, 0.1);
  border-left-color: #ffc107;
}

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

/* ============================================
   CONTENT STYLES
   ============================================ */

.content {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out;
}

.content h2 {
  color: var(--accent-primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-primary);
}

.content h3 {
  color: var(--accent-secondary);
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

.content ul,
.content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.content li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.content code {
  background-color: var(--bg-tertiary);
  color: var(--accent-primary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.content pre {
  background-color: var(--bg-tertiary);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent-primary);
}

.content pre code {
  background: none;
  padding: 0;
  color: var(--text-primary);
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.content table th {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.content table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.content table tr:hover {
  background-color: var(--bg-tertiary);
}

/* ============================================
   CHECKLIST STYLES
   ============================================ */

.checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  border-left: 4px solid var(--accent-primary);
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.checklist-item:hover {
  background-color: var(--bg-tertiary);
  transform: translateX(5px);
}

.checklist-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent-primary);
}

.checklist-item label {
  cursor: pointer;
  margin: 0;
  flex: 1;
  font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .page-header {
    padding: 2rem 1.5rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

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

  .info-section {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 1.5rem;
  }

  .content h2 {
    font-size: 1.5rem;
  }

  .content h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.5rem;
  }

  .quick-links-list {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 1rem;
  }
}
