/* Container */
.ghc-platforms {
  padding-top: 48px;
  padding-bottom: 32px;
  text-align: center;
}

/* Text */
.ghc-platforms-text {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #57606a; /* GitHub fg-muted */
}

/* Icon Row */
.ghc-platforms-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Icon Button */
.ghc-platform {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  cursor: pointer;
  position: relative;

  border: 0.5px solid #363a40; /* GitHub border-default */

  transition:
    background-color 120ms ease-out,
    border-color 120ms ease-out;
}
.ghc-platform:hover {
  background-color: #f6f8fa;
  border-color: #eaeef2;
}

[data-theme="light"] .ghc-platform {
  background-color: #fff;
}

/* Icon */
.ghc-platform img {
  width: 28px;
  height: 28px;
  opacity: 1;

  transition:
    opacity 120ms ease-out,
    filter 120ms ease-out;
}


.ghc-platform:hover {
  background-color: #f6f8fa;
}

.ghc-platform:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* Label */
.ghc-platform-label {
  position: absolute;
  bottom: -22px;

  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: #57606a;

  opacity: 0;
  transform: translateY(-2px);
  pointer-events: none;

  transition:
    opacity 120ms ease-out,
    transform 120ms ease-out;
}
.ghc-platform:hover .ghc-platform-label {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .ghc-platforms {
    padding-top: 32px;
  }

  .ghc-platforms-icons {
    gap: 12px;
  }
}

.logo {
  width: 28px;
  height: 28px;

  filter: brightness(0) invert(1);

  transition: filter 120ms ease-out;
}
/* Light Mode */
[data-theme="light"] .logo {
  filter: none;
}

.ghc-platform {
  position: relative;
}

.aitools-badge {
  position: absolute;
  top: -20px;
  right: -45px;

  width: 80px !important;
  height: 25px !important;
  max-width: none;
  height: auto;

  z-index: 10;
  pointer-events: none;
}

.black-background {
  background-color: #000000 !important;
}

[data-theme="light"] .black-background {
  background-color: #f2f2f2;
}

.line-through {
  text-decoration: line-through;
}


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

.custom-list li::marker {
  content: "";
}

.custom-list li.check::before {
  content: "✓";
  color: #22c55e;
  margin-right: 0.1rem;
}

.custom-list li.cross::before {
  content: "✕";
  color: #ef4444;
  margin-right: 0.1rem;
}
.arrow-left::before {
  content: "<";
  color: #22c55e;
  font-weight: 600;
  font-size: 24px;
  margin-right: 0.1rem;
}


.marker {
  width: 90px;
  margin: 0;
  display: inline-block;
  margin-bottom: 5px;
}

.testimonial {
  width: 40px;
  margin-top: 8px;
}


/* Editor Container */
.editor-wrapper {
    width: 600px;
    background: #111c18;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    border: 1px solid #1b2a24;
}

/* Header */
.editor-header {
    background: #0f1915;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #1b2a24;
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.file-name {
    color: #8fa39a;
    font-size: 14px;
}

/* Content */
.editor-content {
    padding: 20px;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #e2e8f0;
}

.comment {
    color: #5f6f68;
}

.key {
    color: #4fd18b;
}

.string {
    color: #9be7c4;
}

.landing-payment-banner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: min(92vw, 720px);
    padding: 14px 18px;
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.94);
    color: #bbf7d0;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: center;
}

.landing-payment-banner[data-kind="cancel"] {
    border-color: rgba(245, 158, 11, 0.35);
    color: #fde68a;
}

[data-theme="light"] .landing-payment-banner {
    background: rgba(255, 255, 255, 0.96);
    color: #166534;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .landing-payment-banner[data-kind="cancel"] {
    color: #92400e;
}

@media (max-width: 640px) {
    .landing-payment-banner {
        top: 12px;
        width: calc(100vw - 24px);
        padding: 12px 14px;
        font-size: 0.9rem;
    }
}
