/* [project]/styles/pages.css [client] (css) */
@keyframes rotate {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.header p {
  opacity: .95;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.25rem;
  position: relative;
}

.article-card.testing .article-header {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.article-card:hover {
  transform: translateY(-8px)scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.article-card.deployment:hover {
  box-shadow: 0 20px 40px rgba(59, 130, 246, .3);
}

.article-card.review:hover, .article-card.code-review:hover {
  box-shadow: 0 20px 40px rgba(16, 185, 129, .3);
}

.article-card.maintenance:hover {
  box-shadow: 0 20px 40px rgba(139, 92, 246, .3);
}

.article-card.testing:hover {
  box-shadow: 0 20px 40px rgba(245, 158, 11, .3);
}

.article-card.documentation:hover {
  box-shadow: 0 20px 40px rgba(16, 185, 129, .3);
}

.article-card.infrastructure:hover {
  box-shadow: 0 20px 40px rgba(239, 68, 68, .3);
}

.article-card.development:hover {
  box-shadow: 0 20px 40px rgba(6, 182, 212, .3);
}

.article-icon {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3));
  margin-bottom: 1rem;
  font-size: 3rem;
}

.article-title {
  text-shadow: 0 2px 4px rgba(0, 0, 0, .2);
  margin-bottom: .5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.article-subtitle {
  opacity: .9;
  font-size: .95rem;
  font-weight: 500;
}

.tag {
  color: var(--text-secondary);
  background: rgba(124, 58, 237, .1);
  border: 1px solid rgba(124, 58, 237, .2);
  border-radius: 20px;
  padding: .25rem .75rem;
  font-size: .75rem;
}

.article-meta {
  border-top: 1px solid rgba(255, 255, 255, .05);
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  display: flex;
}

.article-difficulty {
  color: var(--text-muted);
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  display: flex;
}

.dot {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.dot.active.easy {
  background: #10b981;
  border-color: #10b981;
}

.dot.active.medium {
  background: #f59e0b;
  border-color: #f59e0b;
}

.dot.active.hard {
  background: #ef4444;
  border-color: #ef4444;
}

.article-time {
  color: var(--text-muted);
  font-size: .875rem;
}

.new-badge {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
  z-index: 10;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 20px;
  padding: .25rem .75rem;
  font-size: .7rem;
  font-weight: 700;
  animation: 2s infinite pulse;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .8;
    transform: scale(1.05);
  }
}

.critical-notice {
  border-radius: var(--border-radius);
  text-align: center;
  background: linear-gradient(135deg, rgba(239, 68, 68, .1), rgba(220, 38, 38, .05));
  border: 2px solid #ef4444;
  margin: 2rem 0;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.critical-notice:before {
  content: "";
  background: linear-gradient(90deg, #ef4444, #dc2626, #ef4444);
  height: 4px;
  animation: 2s infinite shimmer;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.critical-notice h4 {
  color: #ef4444;
  margin-bottom: .75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.section h2 {
  color: var(--text-primary);
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
}

.section h2 span {
  font-size: 2rem;
}

.section-title {
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
}

.section h3 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.tabs {
  border-radius: var(--border-radius-sm);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, .05);
  gap: .5rem;
  margin-bottom: 2rem;
  padding: .5rem;
  display: flex;
  overflow-x: auto;
}

.tab {
  color: var(--text-secondary);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  background: none;
  border: none;
  padding: .75rem 1.5rem;
  font-size: .9rem;
  font-weight: 500;
}

.tab:hover {
  color: var(--text-primary);
  background: rgba(124, 58, 237, .1);
}

.tab.active {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.alert {
  border-radius: var(--border-radius-sm);
  border-left: 4px solid;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.alert.info {
  color: var(--text-primary);
  background: rgba(59, 130, 246, .1);
  border-left-color: #3b82f6;
}

.alert.warning {
  color: var(--text-primary);
  background: rgba(249, 115, 22, .1);
  border-left-color: #f97316;
}

.alert.success {
  color: var(--text-primary);
  background: rgba(16, 185, 129, .1);
  border-left-color: #10b981;
}

.alert.error {
  color: var(--text-primary);
  background: rgba(239, 68, 68, .1);
  border-left-color: #ef4444;
}

.code-block, .code-example {
  border-radius: var(--border-radius-sm);
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, .1);
  margin: 1rem 0;
  padding: 1.5rem;
  position: relative;
  overflow-x: auto;
}

.code-block:before {
  content: attr(data-lang);
  color: var(--text-muted);
  background: rgba(255, 255, 255, .1);
  border-radius: 4px;
  padding: .25rem .5rem;
  font-size: .75rem;
  position: absolute;
  top: .5rem;
  right: .5rem;
}

.code-block pre, .code-example pre {
  color: #e2e8f0;
  margin: 0;
  font-family: Cascadia Code, Fira Code, monospace;
  font-size: .9rem;
  line-height: 1.6;
}

.command-box {
  color: #fff;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
  margin: .5rem 0;
  padding: 1rem 1.5rem;
  font-family: monospace;
  font-size: .95rem;
  position: relative;
  overflow: hidden;
}

.command-box:before {
  content: ">";
  opacity: .6;
  position: absolute;
  left: .75rem;
}

.command-box {
  padding-left: 2.5rem;
}

.procedure-steps, .process-steps {
  margin: 2rem 0;
}

.step, .process-step {
  background: var(--bg-card);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, .05);
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.5rem 1.5rem 3.5rem;
  position: relative;
}

.step:hover, .process-step:hover {
  background: var(--bg-card-hover);
  border-color: rgba(124, 58, 237, .3);
}

.step-number {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  font-size: .9rem;
  font-weight: bold;
  display: flex;
  position: absolute;
  top: 1.5rem;
  left: 1rem;
}

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

.criteria-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  border: 2px solid rgba(0, 0, 0, 0);
  border-left: 4px solid;
  padding: 2rem;
}

.criteria-card.clarity {
  border-left-color: var(--card-green);
}

.criteria-card.bug-check {
  border-left-color: var(--card-red);
}

.criteria-card.structure {
  border-left-color: var(--card-orange);
}

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

.criteria-card h3 {
  color: var(--text-primary);
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  display: flex;
}

.info-box, .tip-box, .warning-box, .important-box {
  border-radius: var(--border-radius-sm);
  border-left: 4px solid;
  margin: 1.5rem 0;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.info-box {
  background: rgba(59, 130, 246, .1);
  border-left-color: #3b82f6;
}

.tip-box {
  background: rgba(16, 185, 129, .1);
  border-left-color: #10b981;
}

.warning-box {
  background: rgba(249, 115, 22, .1);
  border-left-color: #f97316;
}

.important-box {
  background: rgba(239, 68, 68, .1);
  border-left-color: #ef4444;
}

.info-box h4, .tip-box h4, .warning-box h4, .important-box h4 {
  margin-bottom: .75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: var(--border-radius-sm);
  width: 100%;
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
  overflow: hidden;
}

th {
  color: #fff;
  text-align: left;
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
  padding: 1rem;
  font-weight: 600;
}

td {
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: 1rem;
}

tr:nth-child(2n) td {
  background: rgba(255, 255, 255, .02);
}

tr:hover td {
  background: rgba(124, 58, 237, .05);
}

.comparison-table th:first-child {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.comparison-table th:nth-child(2) {
  background: linear-gradient(135deg, #10b981, #059669);
}

.comparison-table th:nth-child(3) {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.review-requirement, .reviewers-required {
  border-radius: var(--border-radius);
  text-align: center;
  background: rgba(239, 68, 68, .15);
  border: 3px solid #ef4444;
  margin: 3rem 0;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(239, 68, 68, .2);
}

.reviewers-required h3 {
  color: #ef4444;
  margin-bottom: .75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.reviewers-required .number {
  color: #ef4444;
  text-shadow: 0 0 20px rgba(239, 68, 68, .5);
  margin: 1rem 0;
  font-size: 3.5rem;
  font-weight: bold;
}

.workflow-diagram {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  margin: 2rem 0;
  padding: 3rem;
}

.workflow-steps {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  display: flex;
}

.workflow-step {
  background: var(--bg-card);
  border-radius: var(--border-radius-sm);
  text-align: center;
  min-width: 200px;
  transition: var(--transition);
  border: 2px solid;
  flex: 1;
  padding: 2rem;
}

.workflow-step.dev {
  border-color: var(--card-blue);
}

.workflow-step.staging {
  border-color: var(--card-orange);
}

.workflow-step.prod {
  border-color: var(--card-green);
}

.workflow-step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.workflow-step h3 {
  color: var(--text-primary);
  margin-bottom: .5rem;
  font-size: 1.25rem;
}

.workflow-step p {
  color: var(--text-secondary);
  font-size: .9rem;
}

.arrow {
  color: var(--color-maintenance);
  opacity: .5;
  font-size: 2rem;
}

.git-flow-visual {
  border-radius: var(--border-radius-sm);
  background: rgba(36, 36, 36, .8);
  border: 1px solid rgba(139, 92, 246, .2);
  margin: 2rem 0;
  padding: 2rem;
}

.git-flow-visual h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.branch {
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  position: relative;
}

.branch-name {
  text-align: center;
  z-index: 2;
  border-radius: 25px;
  min-width: 100px;
  padding: .5rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.branch.main .branch-name {
  color: #fff;
  background: linear-gradient(135deg, #10b981, #059669);
}

.branch.staging .branch-name {
  color: #fff;
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.branch.dev .branch-name {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.branch-line {
  border-radius: 3px;
  flex: 1;
  height: 6px;
  position: relative;
}

.branch.main .branch-line {
  background: linear-gradient(90deg, #10b981, rgba(16, 185, 129, .2));
}

.branch.staging .branch-line {
  background: linear-gradient(90deg, #f97316, rgba(249, 115, 22, .2));
}

.branch.dev .branch-line {
  background: linear-gradient(90deg, #3b82f6, rgba(59, 130, 246, .2));
}

.commit-point {
  border: 2px solid var(--bg-secondary);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  position: absolute;
  top: -5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.commit-point.staging {
  background: #f97316;
  left: 50%;
}

.commit-point.c1 {
  background: #3b82f6;
  left: 30%;
}

.commit-point.c2 {
  background: #3b82f6;
  left: 50%;
}

.commit-point.c3 {
  background: #3b82f6;
  left: 70%;
}

.deployment-flow {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  margin: 2rem 0;
  padding: 2rem;
}

.deployment-steps {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  display: grid;
}

.deployment-step {
  border-radius: var(--border-radius-sm);
  text-align: center;
  transition: var(--transition);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05);
  padding: 1.5rem;
}

.deployment-step:hover {
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, .05);
  transform: translateY(-5px);
}

.deployment-step-icon {
  margin-bottom: .75rem;
  font-size: 2.5rem;
}

.deployment-step h4 {
  color: var(--text-primary);
  margin-bottom: .5rem;
  font-size: 1rem;
}

.deployment-step p {
  color: var(--text-secondary);
  font-size: .85rem;
}

.dashboard {
  margin-top: 2rem;
}

.metrics-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  display: grid;
}

.metric-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-sm);
  text-align: center;
  transition: var(--transition);
  border: 2px solid rgba(0, 0, 0, 0);
  padding: 2rem;
  position: relative;
}

.metric-card.quality {
  border-top: 3px solid var(--card-green);
}

.metric-card.deployment {
  border-top: 3px solid var(--card-blue);
}

.metric-card.process {
  border-top: 3px solid var(--card-purple);
}

.metric-card.team {
  border-top: 3px solid var(--card-orange);
}

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

.metric-trend {
  font-size: 1.25rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.metric-trend.trend-up {
  color: var(--card-green);
}

.metric-trend.trend-down {
  color: var(--card-red);
}

.metric-trend.trend-stable {
  color: var(--card-yellow);
}

.metric-value {
  margin: 1rem 0;
  font-size: 3rem;
  font-weight: 800;
}

.metric-value.good {
  color: var(--card-green);
}

.metric-value.warning {
  color: var(--card-orange);
}

.metric-value.critical {
  color: var(--card-red);
}

.metric-label {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .9rem;
}

.kpi-details {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  display: grid;
}

.kpi-item {
  background: var(--bg-card);
  border-radius: var(--border-radius-sm);
  border-left: 4px solid;
  padding: 1.5rem;
}

.kpi-item.excellent {
  border-left-color: var(--card-green);
}

.kpi-item.good {
  border-left-color: var(--card-blue);
}

.kpi-item.warning {
  border-left-color: var(--card-orange);
}

.kpi-title {
  color: var(--text-primary);
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: 600;
}

.kpi-value {
  color: var(--color-maintenance);
  margin-bottom: .5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.kpi-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: .9rem;
}

.progress-bar {
  background: rgba(255, 255, 255, .05);
  border-radius: 50px;
  height: 8px;
  margin-top: 1rem;
  overflow: hidden;
}

.progress-fill {
  border-radius: 50px;
  height: 100%;
  transition: width 1s cubic-bezier(.4, 0, .2, 1);
}

.progress-fill.quality {
  background: linear-gradient(90deg, var(--card-green), #059669);
}

.progress-fill.deployment {
  background: linear-gradient(90deg, var(--card-blue), #2563eb);
}

.progress-fill.process {
  background: linear-gradient(90deg, var(--card-purple), #7c3aed);
}

.chart-container {
  background: var(--bg-card);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, .05);
  margin: 2rem 0;
  padding: 2rem;
}

.chart-container h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.targets-section {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  border: 2px solid rgba(124, 58, 237, .2);
  margin: 2rem 0;
  padding: 2rem;
}

.targets-title {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.target-item {
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
  display: flex;
}

.target-label {
  color: var(--text-secondary);
}

.target-value {
  color: var(--color-maintenance);
  font-weight: 600;
}

.insights-section {
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, rgba(139, 92, 246, .05), rgba(139, 92, 246, .02));
  border: 1px solid rgba(139, 92, 246, .2);
  margin: 2rem 0;
  padding: 2rem;
}

.insights-title {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.insight-item {
  border-radius: var(--border-radius-sm);
  border-left: 3px solid var(--color-maintenance);
  background: rgba(0, 0, 0, .2);
  margin-bottom: 1rem;
  padding: 1rem;
}

.insight-item strong {
  color: var(--color-maintenance);
}

.footer {
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, .05);
  margin-top: 4rem;
  padding-top: 2rem;
}

ul, ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

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

.checklist {
  padding-left: 0;
  list-style: none;
}

.checklist li {
  padding-left: 1.75rem;
  position: relative;
}

.checklist li:before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  position: absolute;
  left: 0;
}

@media (max-width: 1024px) {
  .container {
    padding: 1rem;
  }

  .content {
    padding: 2rem 1.5rem;
  }

  .nav-categories, .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .header {
    padding: 3rem 1.5rem 2rem;
  }

  .header h1 {
    font-size: 2.5rem;
  }

  .tabs {
    scrollbar-width: thin;
    overflow-x: auto;
  }

  .workflow-steps {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .nav-categories, .articles-grid {
    grid-template-columns: 1fr;
  }

  .header {
    padding: 2rem 1rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }

  .content {
    border-radius: var(--border-radius-sm);
    padding: 1.5rem 1rem;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-input {
    border-radius: 50px;
    margin-bottom: 1rem;
  }

  .search-btn {
    border-radius: 50px;
    width: 100%;
  }

  .step {
    padding-left: 1rem;
  }

  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    position: static;
  }
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #7c3aed var(--bg-secondary);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-card, .nav-category {
  animation: .5s ease-out fadeIn;
}

.article-card:first-child {
  animation-delay: .1s;
}

.article-card:nth-child(2) {
  animation-delay: .2s;
}

.article-card:nth-child(3) {
  animation-delay: .3s;
}

.article-card:nth-child(4) {
  animation-delay: .4s;
}

.article-card:nth-child(5) {
  animation-delay: .5s;
}

.article-card:nth-child(6) {
  animation-delay: .6s;
}

.nomenclature-example {
  border-radius: var(--border-radius-sm);
  color: #a78bfa;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, .1), rgba(124, 58, 237, .05));
  border: 2px solid rgba(124, 58, 237, .3);
  margin: 1rem 0;
  padding: 1.5rem;
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 600;
}

.scenario-box {
  background: var(--bg-card);
  border-radius: var(--border-radius-sm);
  border-left: 4px solid #3b82f6;
  margin: 2rem 0;
  padding: 2rem;
}

.scenario-box h4 {
  color: #3b82f6;
  margin-bottom: 1rem;
}

.scenario-box ul, .scenario-box ol {
  color: var(--text-secondary);
}

.scenario-box li {
  color: var(--text-secondary);
  margin-bottom: .5rem;
}

.scenario-box code {
  color: #60a5fa;
  background: rgba(59, 130, 246, .1);
  border-radius: 4px;
  padding: .25rem .5rem;
  font-family: monospace;
}

ul code, ol code, li code {
  color: #a78bfa;
  background: rgba(124, 58, 237, .1);
  border-radius: 4px;
  padding: .2rem .5rem;
  font-family: monospace;
  font-size: .9em;
}

.markdown-content {
  color: var(--text-primary);
  max-width: 100%;
  line-height: 1.8;
}

.markdown-content h1 {
  color: var(--text-primary);
  border-bottom: 3px solid rgba(124, 58, 237, .3);
  margin: 2rem 0 1.5rem;
  padding-bottom: .5rem;
  font-size: 2.5rem;
  font-weight: 800;
}

.markdown-content h2 {
  color: var(--text-primary);
  border-left: 4px solid #7c3aed;
  margin: 2.5rem 0 1.5rem;
  padding-left: 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.markdown-content h3 {
  color: var(--text-primary);
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.markdown-content h4 {
  color: var(--text-primary);
  margin: 1.5rem 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.markdown-content h5 {
  color: var(--text-primary);
  margin: 1.5rem 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.markdown-content h6 {
  color: var(--text-secondary);
  margin: 1rem 0 .75rem;
  font-size: 1rem;
  font-weight: 600;
}

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

.markdown-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

.markdown-content em {
  color: var(--text-secondary);
  font-style: italic;
}

.markdown-content ul, .markdown-content ol {
  color: var(--text-secondary);
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.markdown-content li {
  margin-bottom: .75rem;
  line-height: 1.7;
}

.markdown-content ul li::marker {
  color: #7c3aed;
}

.markdown-content ol li::marker {
  color: #7c3aed;
  font-weight: 700;
}

.markdown-content ul ul, .markdown-content ol ul, .markdown-content ul ol, .markdown-content ol ol {
  margin: .5rem 0;
}

.markdown-content a {
  color: #60a5fa;
  transition: var(--transition);
  border-bottom: 1px solid rgba(96, 165, 250, .3);
  text-decoration: none;
}

.markdown-content a:hover {
  color: #93c5fd;
  border-bottom-color: #93c5fd;
}

.markdown-content code {
  color: #a78bfa;
  background: rgba(124, 58, 237, .1);
  border: 1px solid rgba(124, 58, 237, .2);
  border-radius: 4px;
  padding: .2rem .5rem;
  font-family: Cascadia Code, Fira Code, Consolas, monospace;
  font-size: .9em;
}

.markdown-content pre {
  border-radius: var(--border-radius-sm);
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, .1);
  margin: 1.5rem 0;
  padding: 1.5rem;
  position: relative;
  overflow-x: auto;
}

.markdown-content pre code {
  color: #e2e8f0;
  background: none;
  border: none;
  padding: 0;
  font-size: .9rem;
  line-height: 1.6;
  display: block;
}

.markdown-content pre:hover {
  border-color: rgba(124, 58, 237, .3);
  box-shadow: 0 4px 12px rgba(124, 58, 237, .1);
}

.markdown-content blockquote {
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  background: rgba(59, 130, 246, .1);
  border-left: 4px solid #3b82f6;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
}

.markdown-content blockquote p {
  margin: 0;
}

.markdown-content blockquote strong {
  color: #60a5fa;
}

.markdown-content table {
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: var(--border-radius-sm);
  width: 100%;
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
  overflow: hidden;
}

.markdown-content thead {
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
}

.markdown-content th {
  color: #fff;
  text-align: left;
  border: none;
  padding: 1rem;
  font-weight: 600;
}

.markdown-content td {
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: 1rem;
}

.markdown-content tbody tr:nth-child(2n) {
  background: rgba(255, 255, 255, .02);
}

.markdown-content tbody tr:hover {
  background: rgba(124, 58, 237, .05);
}

.markdown-content hr {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(124, 58, 237, .3), rgba(0, 0, 0, 0));
  border: none;
  height: 2px;
  margin: 3rem 0;
}

.markdown-content img {
  border-radius: var(--border-radius-sm);
  max-width: 100%;
  height: auto;
  box-shadow: var(--shadow-lg);
  margin: 2rem 0;
}

.markdown-content input[type="checkbox"] {
  accent-color: #7c3aed;
  margin-right: .5rem;
}

.markdown-content pre code .keyword {
  color: #c678dd;
}

.markdown-content pre code .string {
  color: #98c379;
}

.markdown-content pre code .comment {
  color: #5c6370;
  font-style: italic;
}

.markdown-content pre code .function {
  color: #61afef;
}

.markdown-content pre code .number {
  color: #d19a66;
}

.markdown-content > :first-child {
  margin-top: 0;
}

.markdown-content > :last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .markdown-content h1 {
    font-size: 2rem;
  }

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

  .markdown-content h3 {
    font-size: 1.25rem;
  }

  .markdown-content pre {
    padding: 1rem;
  }

  .markdown-content table {
    font-size: .9rem;
  }

  .markdown-content th, .markdown-content td {
    padding: .75rem .5rem;
  }
}

:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-card: #242424;
  --bg-card-hover: #2a2a2a;
  --text-primary: #fff;
  --text-secondary: #b3b3b3;
  --text-muted: #6b6b6b;
  --color-deployment: #3b82f6;
  --color-review: #10b981;
  --color-maintenance: #8b5cf6;
  --color-viewer: #a78bfa;
  --color-contribution: #f97316;
  --color-documentation: #6366f1;
  --color-guides: #06b6d4;
  --color-tests: #f59e0b;
  --color-infrastructure: #ef4444;
  --color-security: #dc2626;
  --color-development: #14b8a6;
  --card-green: #10b981;
  --card-red: #ef4444;
  --card-orange: #f97316;
  --card-blue: #3b82f6;
  --card-purple: #8b5cf6;
  --card-yellow: #fbbf24;
  --card-cyan: #06b6d4;
  --card-pink: #ec4899;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
  --max-width: 1400px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, .3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, .8);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
}

a {
  text-decoration: none !important;
}

a h3, a h4, a p {
  border-bottom: none !important;
  text-decoration: none !important;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem;
}

.content {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, .05);
  margin-top: 2rem;
  padding: 3rem;
}

.header {
  color: var(--text-primary);
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  margin-bottom: 3rem;
  padding: 2rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.header:before {
  content: "";
  background: radial-gradient(circle, rgba(124, 58, 237, .1) 0%, rgba(0, 0, 0, 0) 70%);
  width: 200%;
  height: 200%;
  animation: 30s linear infinite rotate;
  position: absolute;
  top: -50%;
  left: -50%;
}

.header h1 {
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, .3);
  z-index: 1;
  margin-bottom: .5rem;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
}

.header p {
  opacity: .95;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 400;
  position: relative;
}

.nav-back {
  color: var(--text-primary);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  background: rgba(124, 58, 237, .1);
  border: 1px solid rgba(124, 58, 237, .3);
  align-items: center;
  margin-bottom: 1.5rem;
  padding: .75rem 1.5rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
}

.nav-back:hover {
  border-color: var(--color-maintenance);
  background: rgba(124, 58, 237, .2);
  transform: translateX(-4px);
}

.search-bar {
  z-index: 1;
  max-width: 600px;
  margin: 2rem auto 0;
  display: flex;
  position: relative;
}

.search-input {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  transition: var(--transition);
  background: rgba(255, 255, 255, .1);
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 50px 0 0 50px;
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, .6);
}

.search-input:focus {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .4);
  outline: none;
}

.search-btn {
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  border: none;
  border-radius: 0 50px 50px 0;
  padding: 1rem 2rem;
  font-size: 1.5rem;
}

.search-btn:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  transform: scale(1.05);
}

.tool-card {
  color: #fff;
  cursor: pointer;
  text-align: center;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 2rem;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
}

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

.team-card {
  cursor: pointer;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  height: 100%;
  padding: 1.5rem;
  transition: all .3s;
}

.team-card:hover {
  border-color: #7c3aed;
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(124, 58, 237, .15);
}

.nav-categories, .articles-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  display: grid;
}

.nav-category {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  color: var(--text-primary);
  border: 2px solid rgba(0, 0, 0, 0);
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  display: flex;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
}

.nav-category:before {
  content: "";
  height: 5px;
  transition: height var(--transition);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.nav-category.deployment:before {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.nav-category.code-review:before {
  background: linear-gradient(90deg, #10b981, #059669);
}

.nav-category.maintenance:before {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.nav-category.viewer:before {
  background: linear-gradient(90deg, #a78bfa, #8b5cf6);
}

.nav-category.contribution:before {
  background: linear-gradient(90deg, #f97316, #ea580c);
}

.nav-category.documentation:before {
  background: linear-gradient(90deg, #10b981, #047857);
}

.nav-category.iis-guides:before {
  background: linear-gradient(90deg, #06b6d4, #0891b2);
}

.nav-category.tests:before {
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

.nav-category.infrastructure:before {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.nav-category:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
}

.nav-category:hover:before {
  opacity: .1;
  height: 100%;
}

.nav-category-icon {
  z-index: 1;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  position: relative;
}

.nav-category h3 {
  z-index: 1;
  margin-bottom: .5rem;
  font-size: 1.25rem;
  font-weight: 600;
  position: relative;
}

.nav-category p {
  color: var(--text-secondary);
  z-index: 1;
  font-size: .875rem;
  line-height: 1.4;
  position: relative;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0);
  flex-direction: column;
  display: flex;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
}

.article-card:hover {
  border-color: #7c3aed;
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(124, 58, 237, .15);
}

.article-header {
  color: #fff;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 180px;
  padding: 2.5rem 2rem;
  display: flex;
  position: relative;
}

.article-card.deployment .article-header {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.article-card.review .article-header, .article-card.code-review .article-header {
  background: linear-gradient(135deg, #10b981, #059669);
}

.article-card.maintenance .article-header {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.article-card.viewer .article-header {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.article-card.contribution .article-header {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.article-card.documentation .article-header {
  background: linear-gradient(135deg, #10b981, #047857);
}

.article-card.testing .article-header, .article-card.tests .article-header {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.article-card.infrastructure .article-header {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.article-card.development .article-header {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.article-card.iis-guides .article-header {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.article-icon {
  margin-bottom: 1rem;
  font-size: 3rem;
}

.article-title {
  color: #fff;
  margin-bottom: .5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.article-subtitle {
  opacity: .95;
  color: #fff;
  font-size: .9rem;
}

.article-content {
  background: var(--bg-secondary);
  flex-direction: column;
  flex: 1;
  padding: 2rem;
  display: flex;
}

.article-description {
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.article-tags {
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.tag {
  color: #a78bfa;
  background: rgba(124, 58, 237, .2);
  border: 1px solid rgba(124, 58, 237, .3);
  border-radius: 20px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 500;
}

.article-meta {
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, .05);
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  font-size: .875rem;
  display: flex;
}

.article-difficulty {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.difficulty-dots {
  gap: .25rem;
  display: flex;
}

.dot {
  background: rgba(255, 255, 255, .2);
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.dot.active.easy {
  background: #10b981;
}

.dot.active.medium {
  background: #f59e0b;
}

.dot.active.hard {
  background: #ef4444;
}

.article-time {
  align-items: center;
  gap: .25rem;
  display: flex;
}

.new-badge {
  color: #fff;
  z-index: 10;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 20px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  animation: 2s infinite pulse;
  position: absolute;
  top: 10px;
  right: 10px;
}

.alert {
  border-radius: var(--border-radius-sm);
  border-left: 4px solid;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
}

.alert.info {
  color: #60a5fa;
  background: rgba(59, 130, 246, .1);
  border-color: #3b82f6;
}

.alert.warning {
  color: #fcd34d;
  background: rgba(251, 191, 36, .1);
  border-color: #fbbf24;
}

.alert.success {
  color: #34d399;
  background: rgba(16, 185, 129, .1);
  border-color: #10b981;
}

.alert.error {
  color: #f87171;
  background: rgba(239, 68, 68, .1);
  border-color: #ef4444;
}

.critical-notice {
  border-radius: var(--border-radius);
  text-align: center;
  background: linear-gradient(135deg, #450a0a, #7f1d1d);
  border: 2px solid #dc2626;
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.critical-notice h4 {
  color: #fca5a5;
  margin-bottom: .75rem;
  font-size: 1.25rem;
}

.critical-notice p {
  color: #e2e8f0;
  margin: 0;
}

.info-box {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, .05);
  padding: 1.5rem;
}

.info-box:hover {
  border-color: rgba(124, 58, 237, .3);
  transform: translateY(-2px);
}

.info-box h4 {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .5rem;
  font-size: .875rem;
  font-weight: 500;
}

.info-box p {
  margin: 0;
}

.footer {
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, .05);
  margin-top: 4rem;
  padding: 2rem 0;
}

.footer p {
  margin-bottom: .5rem;
  font-size: .875rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .header {
    padding: 1.5rem 1rem;
  }

  .header h1 {
    font-size: 1.5rem;
  }

  .header p {
    font-size: .875rem;
  }

  .nav-categories, .articles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .content {
    padding: 1.5rem;
  }

  .search-bar {
    flex-direction: column;
    gap: .5rem;
  }

  .search-input, .search-btn {
    border-radius: var(--border-radius-sm);
  }
}

.section {
  margin-bottom: 3rem;
}

.section h2 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 700;
}

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

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

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

@keyframes glow {
  0%, 100% {
    opacity: 0;
  }

  50% {
    opacity: .6;
  }
}

.articles-grid {
  gap: 1.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
}

.article-card {
  height: 100%;
  min-height: 450px;
}

.article-content {
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  display: flex;
}

.team-card {
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  display: flex;
}

@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr !important;
  }
}

a {
  text-decoration: none;
  transition: opacity .2s;
  color: #fff !important;
}

a:hover {
  opacity: .8;
  text-decoration: underline;
}

.prose a {
  font-weight: 500;
  color: #fff !important;
}

.attachment-link {
  align-items: center;
  gap: 8px;
  display: flex;
  color: #fff !important;
}

.scroll-to-top-button {
  color: #fff;
  cursor: pointer;
  z-index: 999;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  border: 2px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  outline: none;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  box-shadow: 0 4px 20px rgba(124, 58, 237, .4);
}

.scroll-to-top-button:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  transform: translateY(-5px)scale(1.05);
  box-shadow: 0 8px 30px rgba(124, 58, 237, .6);
}

.scroll-to-top-button svg {
  stroke-width: 2.5px;
  width: 24px;
  height: 24px;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-to-top-button {
  animation: .3s ease-out slideInUp;
}

@media (max-width: 768px) {
  .scroll-to-top-button {
    width: 45px;
    height: 45px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .scroll-to-top-button svg {
    width: 20px;
    height: 20px;
  }
}

.chatbot-container {
  z-index: 998;
  position: fixed;
  bottom: 2rem;
  right: 6rem;
}

.chatbot-toggle {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #10b981, #059669);
  border: 2px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  box-shadow: 0 4px 20px rgba(16, 185, 129, .4);
}

.chatbot-toggle:hover {
  transform: translateY(-5px)scale(1.05);
  box-shadow: 0 8px 30px rgba(16, 185, 129, .6);
}

.chatbot-badge {
  background: #ef4444;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  font-size: .75rem;
  font-weight: 700;
  animation: 2s infinite pulse;
  display: flex;
  position: absolute;
  top: -5px;
  right: -5px;
}

.scroll-to-top-button {
  cursor: pointer;
  z-index: 9999;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  animation: .4s ease-out slideInUp;
  display: flex;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  transform: translateZ(0);
  box-shadow: 0 4px 20px rgba(102, 126, 234, .4), 0 0 rgba(102, 126, 234, .3);
}

.scroll-to-top-button:hover {
  transform: translateY(-6px)scale(1.05);
  box-shadow: 0 8px 30px rgba(102, 126, 234, .6), 0 0 0 8px rgba(102, 126, 234, .1);
}

.scroll-to-top-button:active {
  transform: translateY(-2px)scale(.98);
}

.scroll-to-top-button:focus {
  outline-offset: 3px;
  outline: 3px solid #fff;
}

.scroll-to-top-button svg {
  color: #fff;
  width: 28px;
  height: 28px;
  transition: transform .3s;
}

.scroll-to-top-button:hover svg {
  transform: translateY(-3px);
}

@keyframes gentlePulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(102, 126, 234, .4), 0 0 rgba(102, 126, 234, .3);
  }

  50% {
    box-shadow: 0 4px 20px rgba(102, 126, 234, .4), 0 0 0 8px rgba(102, 126, 234, .1);
  }
}

.scroll-to-top-button.pulse {
  animation: 2s ease-in-out infinite gentlePulse;
}

@media (max-width: 1024px) {
  .scroll-to-top-button {
    width: 52px;
    height: 52px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 768px) {
  .scroll-to-top-button {
    width: 48px;
    height: 48px;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .scroll-to-top-button svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .scroll-to-top-button {
    width: 44px;
    height: 44px;
    bottom: 1rem;
    right: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-to-top-button, .scroll-to-top-button svg {
    transition: none !important;
    animation: none !important;
  }
}

@media (prefers-contrast: high) {
  .scroll-to-top-button {
    background: #000;
    border: 2px solid #fff;
  }
}

@media (prefers-color-scheme: light) {
  .scroll-to-top-button {
    background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%);
    box-shadow: 0 4px 20px rgba(91, 33, 182, .4);
  }

  .scroll-to-top-button:hover {
    box-shadow: 0 8px 30px rgba(91, 33, 182, .6);
  }
}

.scroll-to-top-button.left {
  left: 2rem;
  right: auto;
}

.scroll-to-top-button.center {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.scroll-to-top-button.center:hover {
  transform: translateX(-50%)translateY(-6px)scale(1.05);
}

select {
  background: var(--bg-card);
  color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-position: right .75rem center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  width: 100%;
  padding: .75rem 2.5rem .75rem .75rem;
  font-family: inherit;
  transition: all .3s;
}

select:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(124, 58, 237, .4);
}

select:focus {
  border-color: #7c3aed;
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .1);
}

select option {
  background: var(--bg-card);
  color: #fff;
  padding: .75rem;
}

input[type="text"], input[type="email"], input[type="url"], input[type="number"], input[type="file"], textarea {
  background: var(--bg-card);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  width: 100%;
  padding: .75rem;
  font-family: inherit;
  transition: all .3s;
}

input[type="text"]:hover, input[type="email"]:hover, input[type="url"]:hover, input[type="number"]:hover, textarea:hover {
  border-color: rgba(124, 58, 237, .3);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="number"]:focus, textarea:focus {
  background: var(--bg-card-hover);
  border-color: #7c3aed;
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .1);
}

input[type="file"] {
  cursor: pointer;
}

input[type="file"]:hover {
  border-color: rgba(124, 58, 237, .3);
}

textarea#docContent {
  resize: vertical;
  min-height: 400px;
  font-family: Cascadia Code, Fira Code, Consolas, monospace;
  font-size: .95rem;
  line-height: 1.6;
}

label {
  color: var(--text-primary);
  margin-bottom: .5rem;
  font-size: .95rem;
  font-weight: 600;
  display: block;
}

label small {
  color: var(--text-secondary);
  margin-top: .25rem;
  font-size: .85rem;
  font-weight: 400;
  display: block;
}

small[style*="color: rgba(255,255,255,0.6)"] {
  font-size: .875rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  select, input[type="text"], input[type="email"], input[type="url"], input[type="number"], textarea {
    font-size: 16px;
  }
}

/*# sourceMappingURL=styles_pages_aba3bd5b.css.map*/