/* CipherElite Static - VPS Ready */
/* Pure CSS, no build, no framework */

:root {
  --surface-dark: #0a0a0f;
  --surface-card: #0d0d14;
  --surface-hover: #111118;
  --accent-pink: #F10070;
  --accent-orange: #F77247;
  --accent-violet: #8b5cf6;
  --text-white: #ffffff;
  --text-gray-300: #d1d5db;
  --text-gray-400: #9ca3af;
  --text-gray-500: #6b7280;
  --text-gray-600: #4b5563;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-strong: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(13, 13, 20, 0.6);
  --glass-bg-hover: rgba(13, 13, 20, 0.7);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--surface-dark);
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(241, 0, 112, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.gradient-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  color: white;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(241, 0, 112, 0.25);
  position: relative;
  overflow: hidden;
}

.gradient-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(241, 0, 112, 0.35);
}

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

.gradient-button:hover::before {
  left: 100%;
}

/* Section backgrounds orbs */
.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.orb-1 {
  top: -15%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(241, 0, 112, 0.12) 0%, rgba(241, 0, 112, 0.03) 40%, transparent 70%);
  animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
  top: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(247, 114, 71, 0.1) 0%, rgba(247, 114, 71, 0.02) 40%, transparent 70%);
  animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(241, 0, 112, 0.06) 0%, transparent 60%);
  animation: orbFloat3 18s ease-in-out infinite;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.65);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  transition: all 0.5s ease;
}

.navbar-scrolled {
  background: rgba(10, 10, 15, 0.85);
  border-bottom-color: rgba(241, 0, 112, 0.1);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand-title {
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.025em;
  color: white;
  transition: color 0.3s;
}

.navbar-brand:hover .navbar-brand-title {
  color: var(--accent-orange);
}

.navbar-brand-subtitle {
  font-size: 0.625rem;
  color: var(--text-gray-500);
  font-family: ui-monospace, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.navbar-link {
  position: relative;
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray-400);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--accent-orange);
}

.navbar-link.active {
  background: rgba(241, 0, 112, 0.08);
  border: 1px solid rgba(241, 0, 112, 0.15);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.navbar-search-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-gray-400);
}

.navbar-search-btn span:not(.icon) {
  display: none;
}

.navbar-search-btn kbd {
  display: none;
}

@media (min-width: 640px) {
  .navbar-search-btn span:not(.icon),
  .navbar-search-btn kbd {
    display: inline;
  }
}

.navbar-star {
  display: none;
}

@media (min-width: 640px) {
  .navbar-star {
    display: inline-flex;
  }
}

.menu-toggle {
  display: flex;
  padding: 0.5rem;
  border-radius: 0.75rem;
  color: var(--text-gray-400);
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  .navbar-links {
    display: flex;
  }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-color);
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  padding: 0.5rem 0;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-gray-400);
  transition: all 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-orange);
}

/* Search modal */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 1rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.search-modal.active {
  display: flex;
}

.search-panel {
  width: 100%;
  max-width: 36rem;
  background: rgba(13, 13, 20, 0.92);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(241, 0, 112, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.search-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 1rem;
}

.search-input::placeholder {
  color: var(--text-gray-500);
}

.search-results {
  max-height: 20rem;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  transition: all 0.2s ease;
}

.search-result-item:hover {
  background: rgba(241, 0, 112, 0.06);
}

.search-result-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(241, 0, 112, 0.1);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.search-footer {
  display: flex;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--text-gray-600);
}

.search-footer kbd {
  padding: 0.125rem 0.375rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, monospace;
}

/* Home page */
.hero {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 9rem 1rem 6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-orange);
  background: rgba(241, 0, 112, 0.06);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(241, 0, 112, 0.15);
  box-shadow: 0 4px 16px rgba(241, 0, 112, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-pink);
  box-shadow: 0 0 8px rgba(241, 0, 112, 0.6);
  animation: pulseGlow 4s ease-in-out infinite;
}

.hero-logo {
  margin-bottom: 1.5rem;
  position: relative;
}

.hero-logo svg {
  filter: drop-shadow(0 0 12px rgba(241, 0, 112, 0.3));
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-orange);
  min-height: 2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(247, 114, 71, 0.3);
}

.hero-description {
  max-width: 36rem;
  color: var(--text-gray-400);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

.search-box-large {
  width: 100%;
  max-width: 32rem;
  margin-bottom: 2rem;
}

.search-box-large .glass-button {
  width: 100%;
  justify-content: flex-start;
  padding: 0.875rem 1.25rem;
  border-radius: 1rem;
  font-weight: 500;
}

.search-placeholder {
  flex: 1;
  color: var(--text-gray-500);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 42rem;
  margin-top: 4rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 0, 112, 0.15);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-gray-500);
}

.section {
  position: relative;
  z-index: 10;
  padding: 0 1rem 6rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 900;
  color: white;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  color: var(--text-gray-400);
}

.features-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .feature-card {
    padding: 1.5rem;
  }
}

.feature-card:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.1);
}

.feature-title {
  font-weight: 700;
  color: white;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.feature-card:hover .feature-title {
  color: var(--accent-orange);
}

.feature-desc {
  color: var(--text-gray-400);
  font-size: 0.875rem;
  line-height: 1.625;
}

.cta-section {
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.cta-box {
  padding: 1.5rem 1rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 1px solid rgba(241, 0, 112, 0.12);
}

@media (min-width: 640px) {
  .cta-box {
    padding: 3rem 2rem;
  }
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
  }
}

.plugin-banner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
  justify-content: space-between;
}

.plugin-banner .plugin-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.plugin-banner .plugin-banner-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(241, 0, 112, 0.15), rgba(247, 114, 71, 0.1));
  border: 1px solid rgba(241, 0, 112, 0.1);
}

.plugin-banner .plugin-banner-text {
  flex: 1;
  min-width: 0;
}

.plugin-banner .plugin-banner-text h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  margin-bottom: 0.375rem;
  word-wrap: break-word;
}

.plugin-banner .plugin-banner-text p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-gray-400);
  word-wrap: break-word;
}

.plugin-banner .plugin-banner-btn {
  align-self: flex-start;
}

@media (min-width: 640px) {
  .plugin-banner {
    flex-direction: row;
    align-items: center;
  }

  .plugin-banner .plugin-banner-btn {
    align-self: center;
    white-space: nowrap;
  }
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 1rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--text-gray-400);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-gray-400);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-divider {
  width: 100%;
  max-width: 28rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-gray-600);
  text-align: center;
}

/* Docs layout */
.docs-layout {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.docs-wrapper {
  display: flex;
  gap: 2rem;
}

.docs-sidebar {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  width: 16rem;
  flex-shrink: 0;
  position: sticky;
  top: 6rem;
  align-self: flex-start;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  padding-bottom: 1rem;
}

@media (min-width: 1024px) {
  .docs-sidebar {
    display: flex;
  }
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
}

.sidebar-header span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sidebar-nav {
  border-radius: 1rem;
  padding: 0.5rem;
  background: rgba(13, 13, 20, 0.4);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.sidebar-link.active {
  background: rgba(241, 0, 112, 0.08);
  border-color: rgba(241, 0, 112, 0.15);
  box-shadow: 0 4px 16px rgba(241, 0, 112, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  border-radius: 9999px;
  background: linear-gradient(180deg, var(--accent-pink), var(--accent-orange));
  box-shadow: 0 0 8px rgba(241, 0, 112, 0.4);
}

.sidebar-step {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.sidebar-link.active .sidebar-step {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  color: white;
  box-shadow: 0 2px 8px rgba(241, 0, 112, 0.3);
}

.sidebar-link:not(.active) .sidebar-step {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-gray-500);
}

.sidebar-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

.sidebar-link.active .sidebar-title,
  .sidebar-link:hover .sidebar-title {
  color: var(--accent-orange);
}

.sidebar-desc {
  font-size: 0.75rem;
  color: var(--text-gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-quick-links {
  padding: 0.75rem;
}

.sidebar-quick-links p {
  font-size: 0.75rem;
  color: var(--text-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

.sidebar-quick-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  font-size: 0.75rem;
  color: var(--text-gray-400);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.sidebar-quick-links a:hover {
  color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.03);
}

.docs-main {
  flex: 1;
  min-width: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-gray-500);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--accent-orange);
}

.breadcrumb-current {
  padding: 0.125rem 0.5rem;
  border-radius: 0.375rem;
  color: var(--accent-orange);
  background: rgba(241, 0, 112, 0.06);
  border: 1px solid rgba(241, 0, 112, 0.1);
}

.page-header {
  margin-bottom: 2.5rem;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-orange);
  background: rgba(241, 0, 112, 0.1);
  border: 1px solid rgba(241, 0, 112, 0.3);
  margin-bottom: 1rem;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .page-title {
    font-size: 3rem;
  }
}

.page-description {
  color: var(--text-gray-400);
  font-size: 1.125rem;
  line-height: 1.625;
  max-width: 42rem;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(241, 0, 112, 0.3), rgba(241, 0, 112, 0.1), transparent);
  margin-bottom: 2.5rem;
}

.doc-section {
  margin-bottom: 3rem;
}

.doc-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.doc-section h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.doc-section p {
  color: var(--text-gray-300);
  line-height: 1.625;
  margin-bottom: 1rem;
}

.doc-section strong {
  color: white;
  font-weight: 600;
}

.doc-section strong.highlight {
  color: var(--accent-orange);
}

.section-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  background: rgba(241, 0, 112, 0.15);
  color: var(--accent-pink);
}

.content-box {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #1e1e2e;
  background: var(--surface-card);
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .content-box {
    padding: 1.5rem;
  }
}

.card-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .card-grid.two {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #1e1e2e;
  background: var(--surface-hover);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  border-color: rgba(241, 0, 112, 0.3);
}

.info-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.info-card:hover .info-card-icon {
  transform: scale(1.1);
}

.info-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.375rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.info-card p {
  font-size: 0.75rem;
  color: var(--text-gray-400);
  line-height: 1.625;
  margin: 0;
  word-wrap: break-word;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid #1e1e2e;
  background: var(--surface-card);
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .step-item {
    gap: 1rem;
    padding: 1rem;
  }
}

.step-item:hover {
  border-color: rgba(241, 0, 112, 0.2);
}

.step-number {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

@media (min-width: 640px) {
  .step-number {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
  }
}

.step-content {
  min-width: 0;
  flex: 1;
}

.step-content p {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.step-content span {
  color: var(--text-gray-400);
  font-size: 0.75rem;
  line-height: 1.625;
  word-wrap: break-word;
}

/* Tables */
.table-wrap {
  border-radius: 1rem;
  border: 1px solid #1e1e2e;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  width: 100%;
  min-width: 320px;
  text-align: left;
  border-collapse: collapse;
}

.table-wrap th {
  padding: 0.625rem 0.875rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-gray-500);
  background: var(--surface-hover);
  border-bottom: 1px solid #1e1e2e;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .table-wrap th {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
  }
}

.table-wrap td {
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-gray-400);
  border-bottom: 1px solid #1e1e2e;
}

@media (min-width: 640px) {
  .table-wrap td {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

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

.table-wrap tr:hover td {
  background: var(--surface-hover);
}

.badge-tag {
  display: inline-flex;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Code blocks */
.code-block {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #1e1e2e;
  margin-bottom: 1rem;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  background: var(--surface-hover);
  border-bottom: 1px solid #1e1e2e;
}

.code-filename {
  font-size: 0.75rem;
  color: var(--text-gray-400);
  font-family: ui-monospace, monospace;
}

.code-copy {
  padding: 0.375rem;
  border-radius: 0.5rem;
  color: var(--text-gray-500);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.code-copy:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.code-copy.copied {
  color: #10b981;
}

pre {
  background: var(--surface-card);
  padding: 1rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-gray-300);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.inline-code {
  color: var(--accent-orange);
  font-weight: 700;
}

.code-content .key {
  color: #a78bfa;
}

.code-content .value {
  color: #34d399;
}

.code-content .comment {
  color: var(--text-gray-600);
}

/* Alert boxes */
.alert {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid;
  margin-bottom: 1.5rem;
}

.alert-warning {
  background: rgba(241, 0, 112, 0.05);
  border-color: rgba(241, 0, 112, 0.2);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}

.alert-success {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}

.alert-info {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}

.alert-title {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.alert p {
  font-size: 0.75rem;
  color: var(--text-gray-400);
  line-height: 1.625;
  margin: 0;
}

.alert-danger .alert-title {
  color: #ef4444;
}

.alert-warning .alert-title {
  color: var(--accent-orange);
}

.alert-success .alert-title {
  color: #10b981;
}

/* Doc page nav */
.doc-page-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.doc-page-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-gray-400);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.doc-page-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: white;
}

.doc-page-nav .next {
  margin-left: auto;
}

/* Search page */
.search-page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  padding: 7rem 1rem 4rem;
}

.search-form {
  margin-bottom: 2rem;
}

.search-form-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(13, 13, 20, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 40px rgba(241, 0, 112, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.search-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 1rem;
}

.search-form input::placeholder {
  color: var(--text-gray-500);
}

.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.search-results-count {
  color: var(--text-gray-400);
  font-size: 0.875rem;
}

.result-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 0.75rem;
}

.result-card .emoji {
  font-size: 1.25rem;
}

/* Animations */
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(80px, -40px) scale(1.05); }
  50% { transform: translate(-30px, -80px) scale(0.95); }
  75% { transform: translate(-60px, 20px) scale(1.02); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-60px, 50px) scale(0.97); }
  50% { transform: translate(40px, 30px) scale(1.04); }
  75% { transform: translate(70px, -30px) scale(0.98); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, 60px) scale(1.03); }
  66% { transform: translate(-40px, -50px) scale(0.96); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes scaleIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }

.shimmer-text {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange), var(--accent-pink));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 10, 15, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(241, 0, 112, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(241, 0, 112, 0.35);
}

::selection {
  background: rgba(241, 0, 112, 0.3);
  color: white;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utility flex/grid */
.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-gray-400 {
  color: var(--text-gray-400);
}

.text-gray-500 {
  color: var(--text-gray-500);
}

.text-white {
  color: white;
}

.font-bold {
  font-weight: 700;
}

.font-black {
  font-weight: 900;
}

.font-mono {
  font-family: ui-monospace, monospace;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shrink-0 {
  flex-shrink: 0;
}

.min-w-0 {
  min-width: 0;
}

.flex-1 {
  flex: 1;
}

.flex-col {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.w-full {
  width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

/* SVG icon helper */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

/* Hero specific */
.hero-logo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(241, 0, 112, 0.15) 0%, transparent 70%);
  filter: blur(20px);
  transform: scale(1.5);
  animation: pulseGlow 4s ease-in-out infinite;
  pointer-events: none;
}

/* Author card */
.author-card {
  padding: 1.5rem 1rem;
  border-radius: 1.5rem;
  border: 1px solid #1e1e2e;
  background: linear-gradient(135deg, rgba(241, 0, 112, 0.05), rgba(247, 114, 71, 0.03));
  text-align: center;
}

@media (min-width: 640px) {
  .author-card {
    padding: 2rem;
  }
}

.author-avatar {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.author-avatar img {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  border: 4px solid rgba(241, 0, 112, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.author-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  filter: blur(20px);
  opacity: 0.3;
  z-index: 1;
}

.author-crown {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  z-index: 3;
}

/* Feature detail cards */
.feature-detail {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #1e1e2e;
  background: var(--surface-card);
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .feature-detail {
    padding: 1.5rem;
  }
}

.feature-detail:hover {
  border-color: rgba(241, 0, 112, 0.2);
}

.feature-detail.highlight {
  border-color: rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(241, 0, 112, 0.04));
}

.feature-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .feature-detail-header {
    gap: 1rem;
  }
}

.feature-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .feature-detail-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
  }
}

.feature-detail:hover .feature-detail-icon {
  transform: scale(1.1);
}

.feature-detail-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  transition: color 0.3s;
  line-height: 1.4;
  word-wrap: break-word;
}

@media (min-width: 640px) {
  .feature-detail-title {
    font-size: 1.125rem;
  }
}

.feature-detail:hover .feature-detail-title {
  color: var(--accent-orange);
}

.feature-detail-points {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .feature-detail-points {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-detail-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-gray-400);
  word-wrap: break-word;
}

.feature-detail-point::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-pink);
  flex-shrink: 0;
}

/* Step card for telegram deploy */
.step-card {
  border-radius: 1rem;
  border: 1px solid #1e1e2e;
  background: var(--surface-card);
  overflow: hidden;
  transition: all 0.2s ease;
}

.step-card.done {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.04);
}

.step-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 640px) {
  .step-card-header {
    padding: 1.25rem;
  }
}

.step-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .step-card-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
  }
}

.step-card.done .step-card-icon {
  background: rgba(16, 185, 129, 0.15);
}

.step-card-num {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--text-gray-600);
  font-family: ui-monospace, monospace;
}

.step-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.step-card-substeps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 1.25rem 1rem;
}

.step-card-substep {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.step-card-substep-num {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--accent-pink);
  background: rgba(241, 0, 112, 0.15);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.step-card-substep span {
  font-size: 0.875rem;
  color: var(--text-gray-300);
}

.step-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 1.25rem 1.25rem;
}

.step-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #1e1e2e;
  background: transparent;
  color: var(--text-gray-500);
}

.step-toggle.done {
  border-color: rgba(16, 185, 129, 0.4);
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

/* Responsive video thumbnail */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #1e1e2e;
  display: block;
  background: #0d0d14;
}

.video-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.3s ease;
}

.video-wrapper:hover .video-play {
  background: rgba(0, 0, 0, 0.35);
}

.video-play-btn {
  width: clamp(3rem, 10vw, 4rem);
  height: clamp(3rem, 10vw, 4rem);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  color: white;
  font-size: clamp(1.125rem, 4vw, 1.5rem);
  padding-left: 0.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover .video-play-btn {
  transform: scale(1.1);
  box-shadow: 0 15px 50px rgba(241, 0, 112, 0.3);
}

.video-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.video-badge .page-badge {
  margin: 0;
}

/* Configuration var card */
.var-card {
  border-radius: 1rem;
  border: 1px solid #1e1e2e;
  background: var(--surface-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

.var-card:hover {
  border-color: rgba(241, 0, 112, 0.2);
}

.var-card-header {
  padding: 1rem;
  border-bottom: 1px solid #1e1e2e;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .var-card-header {
    padding: 1.25rem;
    gap: 1rem;
  }
}

.var-name {
  font-size: 1rem;
  font-weight: 900;
  font-family: ui-monospace, monospace;
  color: var(--accent-orange);
  word-wrap: break-word;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .var-name {
    font-size: 1.125rem;
  }
}

.var-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.var-body {
  padding: 1.25rem;
}

.var-example {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--surface-hover);
  border: 1px solid #1e1e2e;
  margin: 1rem 0;
}

.var-example code {
  flex: 1;
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Community cards */
.community-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #1e1e2e;
  background: var(--surface-card);
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .community-card {
    gap: 1rem;
    padding: 1.25rem;
  }
}

.community-card:hover {
  border-color: rgba(241, 0, 112, 0.4);
  background: var(--surface-hover);
}

.community-card:hover .community-title {
  color: var(--accent-orange);
}

.community-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

@media (min-width: 640px) {
  .community-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
  }
}

.community-card:hover .community-icon {
  transform: scale(1.1);
}

.community-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.125rem;
  transition: color 0.3s;
  line-height: 1.4;
  word-wrap: break-word;
}

.community-handle {
  font-size: 0.75rem;
  color: var(--accent-pink);
  font-family: ui-monospace, monospace;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
}

.community-desc {
  font-size: 0.75rem;
  color: var(--text-gray-400);
  line-height: 1.625;
  word-wrap: break-word;
}

/* Acknowledgment cards */
.ack-card {
  display: block;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #1e1e2e;
  background: var(--surface-card);
  transition: all 0.3s ease;
  height: 100%;
}

@media (min-width: 640px) {
  .ack-card {
    padding: 1.25rem;
  }
}

.ack-card:hover {
  border-color: rgba(241, 0, 112, 0.3);
  background: var(--surface-hover);
}

.ack-card:hover .ack-title {
  color: var(--accent-orange);
}

.ack-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ack-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  transition: color 0.3s;
  line-height: 1.4;
  word-wrap: break-word;
}

/* Site credits */
.credits-box {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #1e1e2e;
  background: var(--surface-card);
}

.credits-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-gray-400);
}

.credits-row span:first-child {
  width: 6rem;
  color: var(--text-gray-600);
  flex-shrink: 0;
}

.credits-row span:last-child {
  color: white;
  font-weight: 500;
}

/* SVG Logo */
.logo-svg {
  filter: drop-shadow(0 0 8px rgba(241, 0, 112, 0.2));
}

/* Display utilities */
.hidden {
  display: none;
}

@media (min-width: 640px) {
  .sm\:table-cell {
    display: table-cell;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:flex {
    display: flex;
  }
}

@media (min-width: 768px) {
  .md\:table-cell {
    display: table-cell;
  }

  .md\:inline {
    display: inline;
  }

  .md\:flex {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }
}
