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

header {
  background: #ffffff65;
  backdrop-filter: blur(80px);
  position: fixed;
  top: 0;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brandLogo {
  width: 150px;
  height: auto;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background-color: rgba(102, 126, 234, 0.1);
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 30px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

nav a:hover {
  color: #667eea;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.tools-btn {
  background-color: #5b5bff;
  color: white !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
}

.tools-btn:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: translateY(-1px);
}

.tools-btn::after {
  background: none;
}

main {
  padding-top: 100px;
  min-height: calc(100vh - 200px);
  padding-bottom: 40px;
}

.demo-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.demo-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.demo-content p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

footer {
  background: #333;
  color: rgb(245, 200, 0);
  text-align: center;
  padding: 40px 20px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
}

.footer-links a:hover {
  color: #667eea;
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-text {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-subtext {
  margin-top: 10px;
  color: #999;
  font-size: 13px;
}

@media (max-width: 1024px) {
  header {
    padding: 15px 30px;
  }

  nav a {
    margin-left: 20px;
  }

  .demo-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

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

  .menu-toggle {
    display: block;
    order: 3;
    margin-left: auto;
  }

  .logo {
    order: 1;
    flex: 1;
  }

  nav {
    order: 4;
    width: 100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    margin-top: 15px;
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: none;
    animation: slideDown 0.3s ease;
  }

  nav.active {
    display: flex;
  }

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

  nav a {
    margin: 0;
    padding: 12px 20px;
    width: 100%;
    text-align: left;
    border-radius: 4px;
    margin: 2px 10px;
  }

  nav a:hover {
    background-color: rgba(102, 126, 234, 0.1);
  }

  nav a::after {
    display: none;
  }

  main {
    padding-top: 120px;
  }

  .demo-content {
    padding: 20px 15px;
  }

  .demo-content h2 {
    font-size: 1.8rem;
  }

  .demo-content p {
    font-size: 1rem;
  }

  footer {
    padding: 30px 15px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .footer-links a {
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    min-width: 120px;
  }

  .footer-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-subtext {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 12px 15px;
  }

  .logo h1 {
    font-size: 18px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .menu-toggle {
    font-size: 24px;
  }

  main {
    padding-top: 100px;
  }

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

  .demo-content p {
    font-size: 0.9rem;
  }

  footer {
    padding: 25px 10px;
  }

  .footer-links a {
    min-width: 100px;
    font-size: 14px;
  }

  .footer-text {
    font-size: 12px;
  }

  .footer-subtext {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .logo h1 {
    font-size: 16px;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .demo-content {
    padding: 15px 10px;
  }

  .demo-content h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  main {
    padding-top: 90px;
  }

  nav a {
    padding: 8px 20px;
  }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-icon {
    transform: translateZ(0);
  }
}
