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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0a1929;
  background-image: url("../../assets/img/background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 60px;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 25, 41, 0.3);
  z-index: -1;
  pointer-events: none;
}

a {
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #0284c7;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.header {
  background-color: #0f2744;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 2px solid rgba(14, 165, 233, 0.3);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .header-container {
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}
@media (max-width: 480px) {
  .header-container {
    gap: 0.5rem;
    padding: 0.5rem;
  }
}

.sidebar-toggle {
  display: none;
  font-size: 1.5rem;
  color: #f1f5f9;
  padding: 0.5rem;
  border-radius: 0.5rem;
  min-width: 44px;
  min-height: 44px;
}
.sidebar-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #0ea5e9;
}
.sidebar-toggle:active {
  background-color: rgba(255, 255, 255, 0.15);
}
@media (max-width: 768px) {
  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #f1f5f9;
  flex-shrink: 0;
}
.logo-link:hover {
  color: #0ea5e9;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 2.25rem;
  width: auto;
  object-fit: contain;
  background-color: transparent;
}

.site-name {
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .site-name {
    font-size: 1rem;
  }
}

.search-container {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  overflow: hidden;
  flex: 1;
  max-width: clamp(16rem, 40vw, 22.5rem);
  position: relative;
}
@media (max-width: 768px) {
  .search-container {
    max-width: none;
    flex: 1;
    min-width: 0;
    order: 10;
  }
}
@media (max-width: 480px) {
  .search-container {
    display: none;
  }
}

.search-input {
  flex: 1;
  border: none;
  background: none;
  padding: 0.5rem 0.75rem;
  outline: none;
  font-size: 16px;
  color: #f1f5f9;
  min-width: 0;
}
.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.search-input:focus {
  outline: none;
}

.search-button {
  padding: 0.5rem 0.75rem;
  color: #f1f5f9;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.08);
}
.search-button:hover {
  color: #0ea5e9;
  background-color: rgba(255, 255, 255, 0.15);
}
.search-button:active {
  color: #0284c7;
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: white;
  color: #1e293b;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 120;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}
.search-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.search-dropdown::-webkit-scrollbar {
  width: 6px;
}
.search-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
.search-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
.search-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.search-dropdown-content {
  padding: 0.5rem;
}

.search-category-label {
  padding: 0.5rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.25rem;
}
.search-category-label:not(:first-child) {
  margin-top: 0.5rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #f1f5f9;
  transition: all 0.15s ease;
}
.search-result-item:hover, .search-result-item.active {
  background: rgba(14, 165, 233, 0.15);
}
.search-result-item:hover .search-result-icon, .search-result-item.active .search-result-icon {
  background: #0ea5e9;
  color: white;
}

.search-result-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #0ea5e9;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #f1f5f9;
  margin-bottom: 2px;
}
.search-result-title mark {
  background: rgba(14, 165, 233, 0.3);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.search-result-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-desc mark {
  background: rgba(14, 165, 233, 0.2);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.search-external-icon {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.search-no-results {
  padding: 2rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}
.search-no-results i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}
.search-no-results p {
  font-size: 0.9rem;
}
.search-no-results strong {
  color: #f1f5f9;
}

.search-highlight {
  animation: searchHighlight 2s ease-out;
}

@keyframes searchHighlight {
  0%, 20% {
    background-color: rgba(14, 165, 233, 0.2);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
  }
  100% {
    background-color: transparent;
    box-shadow: none;
  }
}
.search-empty {
  padding: 0.75rem 1rem;
  color: #64748b;
}

.search-result-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  cursor: pointer;
}
.search-result-item .title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.search-result-item .desc {
  font-size: 0.9rem;
  color: #64748b;
}
.search-result-item:hover {
  background-color: #f8fafc;
}

.github-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.github-link:hover {
  color: #0ea5e9;
  background-color: rgba(14, 165, 233, 0.2);
  transform: scale(1.05);
}
@media (max-width: 480px) {
  .github-link {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 1.1rem;
  }
}

.printables-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}
.printables-link:hover {
  background-color: rgba(14, 165, 233, 0.2);
  transform: scale(1.05);
}
@media (max-width: 480px) {
  .printables-link {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
}

.printables-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.header-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-nav-link {
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.header-nav-link:hover {
  color: #0ea5e9;
  background-color: rgba(255, 255, 255, 0.1);
}
.header-nav-link.active {
  color: #0ea5e9;
  border-bottom: 2px solid #0ea5e9;
  padding-bottom: calc(0.5rem - 2px);
}
@media (max-width: 768px) {
  .header-nav-link {
    display: none;
  }
}

.youtube-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  background-color: #ff0000;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.youtube-link:hover {
  background-color: #cc0000;
  transform: scale(1.1);
}
.youtube-link:active {
  background-color: #990000;
}

.youtube-link-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  height: auto;
  min-height: 2.375rem;
  white-space: nowrap;
}
.youtube-link-header i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.youtube-link-header span {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline;
}
@media (max-width: 1024px) {
  .youtube-link-header span {
    display: none;
  }
  .youtube-link-header {
    padding: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}
@media (max-width: 480px) {
  .youtube-link-header {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 1.25rem;
  }
  .youtube-link-header i {
    font-size: 1.25rem;
  }
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background-color: #1e293b;
  color: #f1f5f9;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 3rem;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}
.sidebar.active {
  transform: translateX(0);
}
@media (max-width: 768px) {
  .sidebar {
    width: 280px;
  }
}
@media (max-width: 480px) {
  .sidebar {
    width: 85%;
    max-width: 320px;
  }
}

.sidebar-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #f1f5f9;
  padding: 0.5rem;
  border-radius: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #0ea5e9;
}
.sidebar-close:active {
  background-color: rgba(255, 255, 255, 0.15);
}

.sidebar-nav {
  padding: 1.5rem 0;
}

.nav-list {
  list-style: none;
}
.nav-list li {
  margin: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: #f1f5f9;
  transition: all 0.3s ease;
  font-size: 1rem;
  min-height: 48px;
  border-left: 4px solid transparent;
}
.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #0ea5e9;
  border-left-color: #0ea5e9;
}
.nav-link:active {
  background-color: rgba(255, 255, 255, 0.15);
}
.nav-link i {
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .main-content {
    padding: 1.5rem 1rem;
  }
}

.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #0f2744 0%, #1e3a5f 50%, #0f2744 100%);
  color: white;
  border-radius: 1rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.75rem;
  }
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .hero p {
    font-size: 0.95rem;
  }
}

.youtube-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: #ff0000;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.youtube-button i {
  font-size: 1.5rem;
}
.youtube-button:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}
.youtube-button:active {
  background-color: #990000;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .youtube-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  .youtube-button i {
    font-size: 1.2rem;
  }
}

.content-section {
  margin-bottom: 3rem;
}
.content-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #f1f5f9;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-description {
  font-size: 1rem;
  color: rgba(241, 245, 249, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.youtube-section {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.05));
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid #ff0000;
  text-align: center;
}

.youtube-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ff0000;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.youtube-cta:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
}

.affiliates-section {
  background: rgba(15, 39, 68, 0.7);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}
.affiliates-section h2 {
  color: #f1f5f9;
}

.affiliates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.affiliate-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-top: 3px solid #0ea5e9;
  transition: all 0.3s ease;
}
.affiliate-card h3 {
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.affiliate-card p {
  color: #64748b;
  font-size: 0.95rem;
}
.affiliate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.featured-projects-section {
  background: rgba(15, 39, 68, 0.6);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}
.featured-projects-section h2 {
  color: #f1f5f9;
}

.view-all-projects {
  text-align: center;
  margin-top: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background-color: #0ea5e9;
  color: white;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.cta-button:hover {
  background-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

.apps-section {
  background: rgba(15, 39, 68, 0.65);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}
.apps-section h2 {
  color: #f1f5f9;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}
.app-card .app-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.app-card .app-logo {
  width: clamp(4rem, 10vw, 5rem);
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem;
}
.app-card .app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.app-card .app-badge-warn {
  background: #fbbf24;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.app-card .app-badge-retired {
  background: #94a3b8;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.app-card .app-icon {
  font-size: clamp(2rem, 6vw, 3rem);
  color: #0ea5e9;
  margin-bottom: 1rem;
}
.app-card h3 {
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.app-card p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.app-card .app-link {
  display: inline-block;
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 2px solid #0ea5e9;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.app-card .app-link:hover {
  background-color: #0ea5e9;
  color: white;
}
.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-placeholder {
  width: 100%;
  min-height: clamp(10rem, 25vw, 11.25rem);
  background: linear-gradient(135deg, #e0f2fe, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #1e293b;
  font-weight: 600;
}

.project-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  background: linear-gradient(135deg, #e0f2fe, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #f1f5f9;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-card h3 {
  padding: 1rem 1rem 0 1rem;
  color: #1e293b;
  font-size: 1.1rem;
}

.project-card p {
  padding: 0 1rem 1rem 1rem;
  color: #64748b;
  font-size: 0.9rem;
  flex-grow: 1;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-card .cta-button {
  display: inline-flex;
  margin-bottom: 1rem;
}

.page-header {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  border-radius: 1rem;
  margin-bottom: 3rem;
}
.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 1.75rem;
  }
}
.page-header p {
  font-size: 1.1rem;
  opacity: 0.95;
}
@media (max-width: 768px) {
  .page-header p {
    font-size: 0.95rem;
  }
}

.projects-section {
  margin-bottom: 3rem;
}
.projects-section h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: #f1f5f9;
  background: rgba(15, 39, 68, 0.5);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid #0ea5e9;
}

.projects-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .projects-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .projects-grid-full {
    grid-template-columns: 1fr;
  }
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  border: 2px solid #0ea5e9;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.project-link:hover {
  background-color: #0ea5e9;
  color: white;
}

.apps-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .apps-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .apps-grid-full {
    grid-template-columns: 1fr;
  }
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.hero-badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  backdrop-filter: blur(8px);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  position: relative;
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  position: relative;
}
@media (max-width: 480px) {
  .hero-stats {
    gap: 1.5rem;
  }
}

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

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(14, 165, 233, 0.95);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.project-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.project-content h3 {
  color: #1e293b;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.project-content p {
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1rem;
}
.project-content .cta-button {
  align-self: flex-start;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.project-tag {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.site-footer {
  background: linear-gradient(135deg, #0f2744 0%, #1e3a5f 100%);
  color: #f1f5f9;
  padding: 0;
  margin-top: 3rem;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8, #0ea5e9);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

.footer-brand {
  max-width: 320px;
}
.footer-brand p {
  color: rgba(241, 245, 249, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-logo {
  height: 2.5rem;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-links {
  display: flex;
  gap: 3rem;
}
@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}
.footer-column a {
  color: rgba(241, 245, 249, 0.8);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-column a:hover {
  color: #38bdf8;
}
.footer-column a i {
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 2rem;
  text-align: center;
}
.footer-bottom p {
  color: rgba(241, 245, 249, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

.page-header {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0f2744 0%, #1e3a5f 50%, #0f2744 100%);
  color: white;
  border-radius: 1.25rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.page-header .hero-badge {
  position: relative;
  margin-bottom: 1rem;
}
.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
}
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 1.875rem;
  }
}
.page-header p {
  font-size: 1.125rem;
  opacity: 0.9;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .page-header p {
    font-size: 1rem;
  }
}

.project-icon-placeholder {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
}
.project-icon-placeholder i {
  font-size: 4rem;
  color: #0ea5e9;
  opacity: 0.7;
}

.app-icon-placeholder {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.05));
  border-radius: 0.75rem;
}
.app-icon-placeholder i {
  font-size: 1.5rem;
  color: #0ea5e9;
}

.dynamic-docs-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}
@media (max-width: 768px) {
  .dynamic-docs-overlay {
    padding: 1rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.dynamic-docs-modal {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dynamic-docs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dynamic-docs-header h2 {
  color: #f1f5f9;
  font-size: 1.5rem;
  margin: 0;
}

.dynamic-docs-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #f1f5f9;
  font-size: 1.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dynamic-docs-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.dynamic-docs-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}
.dynamic-docs-content .docs-hero {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dynamic-docs-content .docs-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.dynamic-docs-content .docs-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.dynamic-docs-content .docs-badge {
  background: rgba(14, 165, 233, 0.2);
  color: #0ea5e9;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}
.dynamic-docs-content .docs-section {
  margin-bottom: 2rem;
}
.dynamic-docs-content .docs-section:last-child {
  margin-bottom: 0;
}
.dynamic-docs-content .docs-heading {
  color: #f1f5f9;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dynamic-docs-content .section-content {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}
.dynamic-docs-content .section-content p {
  margin-bottom: 0.75rem;
}
.dynamic-docs-content .no-docs {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 3rem 1rem;
  font-style: italic;
}
.dynamic-docs-content .docs-grid-2,
.dynamic-docs-content .docs-grid-3 {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}
.dynamic-docs-content .docs-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 600px) {
  .dynamic-docs-content .docs-grid-2 {
    grid-template-columns: 1fr;
  }
}
.dynamic-docs-content .docs-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 800px) {
  .dynamic-docs-content .docs-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .dynamic-docs-content .docs-grid-3 {
    grid-template-columns: 1fr;
  }
}
.dynamic-docs-content .docs-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.dynamic-docs-content .docs-card h4 {
  color: #f1f5f9;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.dynamic-docs-content .docs-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.dynamic-docs-content .docs-code-block {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  overflow: hidden;
  margin: 0.75rem 0;
}
.dynamic-docs-content .docs-code-block .code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
.dynamic-docs-content .docs-code-block pre {
  padding: 1rem;
  margin: 0;
  overflow-x: auto;
}
.dynamic-docs-content .docs-code-block pre code {
  color: #e2e8f0;
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.85rem;
}
.dynamic-docs-content .docs-callout {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(14, 165, 233, 0.1);
  border-left: 4px solid #0ea5e9;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1rem 0;
}
.dynamic-docs-content .docs-callout i {
  color: #0ea5e9;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.dynamic-docs-content .docs-callout div {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

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