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

html {
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  margin-top: 10rem;
  justify-content: center;
  overflow-x: hidden;
  width: 100%;

  background-attachment: scroll;
  background-clip: border-box;
  background-color: rgb(11, 24, 30);
  background-image: radial-gradient(at 120% 0px, rgb(26, 71, 59) 0px, rgb(11, 24, 30) 40%);
  background-origin: padding-box;
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 768px) {
  body {
    margin-top: 2rem;
    background-image: radial-gradient(circle at 50% 0%, rgb(26, 71, 59) 0%, rgb(11, 24, 30) 60%);
    background-size: 100% 100%;
    background-position: center top;
  }
}

.container {
  max-width: 1400px;
  width: 100%;
  padding: 3rem 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.logo {
  height: 48px;
}

@media (max-width: 768px) {
  header {
    margin-bottom: 2rem;
  }

  .logo {
    height: 36px;
  }
}

main {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.left {
  padding-top: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.right {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
}

.title {
  background: linear-gradient(90deg, #daffee, #62feb5 28%, #6cd3f5 59%, #836af7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .subtitle {
    font-size: 1.1875rem;
    line-height: 1.7;
  }
}

.features {
  list-style: none;
  margin-bottom: 2rem;
}

.features li {
  padding: 0;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .features li {
    font-size: 1.1875rem;
  }
}

.features li:before {
  content: '✓';
  color: rgb(98, 254, 181);
  font-weight: bold;
  font-size: 1.2rem;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(16px);
}

@media (max-width: 768px) {
  .card {
    padding: 1rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
}

.card h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 768px) {
  .card h2 {
    font-size: 1.375rem;
  }
}

.button-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-small {
  padding: 0.625rem 1.25rem;
  background: rgba(98, 254, 181, 0.1);
  border: 1px solid rgba(98, 254, 181, 0.3);
  border-radius: 0.5rem;
  color: rgb(98, 254, 181);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-small:hover {
  background: rgba(98, 254, 181, 0.15);
  border-color: rgba(98, 254, 181, 0.5);
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2rem 0 1.5rem 0;
}

.divider-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.code-block {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .code-block {
    font-size: 0.9375rem;
    padding: 0.875rem;
    line-height: 1.75;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

.code-block code {
  display: block;
  white-space: pre;
}

/* Tabs */
.tabs-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.scroll-indicator {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 1px;
  width: 40px;
  background: linear-gradient(to right, transparent, rgba(11, 24, 30, 0.95) 40%);
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: rgb(98, 254, 181);
  animation: pulse 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .tabs {
    gap: 0.25rem;
  }

  .scroll-indicator.show {
    display: flex;
  }
}

.tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .tab {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    gap: 0.5rem;
  }
}

.tab-icon {
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition: opacity 0.2s;
}

@media (max-width: 768px) {
  .tab-icon {
    width: 20px;
    height: 20px;
  }
}

.tab:hover {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(98, 254, 181, 0.3);
}

.tab:hover .tab-icon {
  opacity: 0.8;
}

.tab.active {
  color: rgb(98, 254, 181);
  border-bottom-color: rgb(98, 254, 181);
}

.tab.active .tab-icon {
  opacity: 1;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.install-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-right: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .install-btn {
    width: 100%;
    justify-content: center;
    margin-right: 0;
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
    padding: 1rem 1.25rem;
  }

  .install-btn:last-child {
    margin-bottom: 0;
  }
}

.install-btn img {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .install-btn img {
    width: 22px;
    height: 22px;
  }
}

.install-btn:hover {
  background: rgba(98, 254, 181, 0.15);
  border-color: rgba(98, 254, 181, 0.3);
  color: #fff;
}

.section {
  margin-bottom: 1.5rem;
}

.section:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
}

.section-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .section-label {
    font-size: 0.9375rem;
    font-weight: 700;
  }
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: all 0.2s;
}

@media (max-width: 768px) {
  .external-link {
    font-size: 1rem;
  }
}

.external-link:hover {
  color: rgb(98, 254, 181);
}

.external-link svg {
  width: 14px;
  height: 14px;
}

.section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section ul li {
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

@media (max-width: 768px) {
  .section ul li {
    font-size: 1.0625rem;
    padding: 0.875rem 0;
    line-height: 1.75;
  }
}

.section ul li:before {
  content: '•';
  color: rgb(98, 254, 181);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.section ul li code {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  padding: 0.125rem 0.375rem;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .section ul li code {
    font-size: 0.9375rem;
    padding: 0.1875rem 0.5rem;
  }
}

.section ul li strong {
  color: #fff;
  font-weight: 600;
}

.section ul li a {
  color: rgb(98, 254, 181);
  text-decoration: none;
  transition: all 0.2s;
}

.section ul li a:hover {
  color: rgb(135, 226, 255);
}

.section ul li .external-link {
  margin-top: 0;
  display: inline-flex;
  color: rgb(98, 254, 181);
}

.section ul li .external-link:hover {
  color: rgb(135, 226, 255);
}

@media (max-width: 968px) {
  main {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
  }

  .button-group {
    flex-direction: column;
  }

  .btn-small {
    width: 100%;
    text-align: center;
  }
}
