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

:root {
  --bg: #0f0f0f;
  --text: #ffffff;
  --muted: #777777;
  --grad: linear-gradient(135deg, #FF4500, #FF6BCB, #00C3FF);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Trebuchet MS', 'Gill Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  max-width: 620px;
  width: 100%;
}

.logo-wrap {
  margin-bottom: 4px;
}

.badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
}

h1 {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--text);
}

.sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.form-wrap {
  width: 100%;
  max-width: 500px;
}

form {
  display: flex;
  gap: 10px;
  width: 100%;
}

input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1.5px solid #2a2a2a;
  background: #1a1a1a;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

input[type="email"]::placeholder {
  color: #444;
}

input[type="email"]:focus {
  border-color: #FF6BCB;
}

button[type="submit"] {
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  background: var(--grad);
  color: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

button[type="submit"]:hover {
  opacity: 0.88;
}

.success {
  display: none;
  margin-top: 16px;
  font-size: 15px;
  color: #aaa;
  letter-spacing: 0.3px;
}

.success.show {
  display: block;
}

.stat {
  font-size: 14px;
  color: #444;
  letter-spacing: 0.3px;
}

.highlight {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.tools-section {
  width: 100%;
  max-width: 620px;
  display: flex;
  border-top: 1px solid #1e1e1e;
  margin-top: 8px;
  text-align: left !important;
}

.tools-sidebar {
  width: 180px;
  flex-shrink: 0;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid #1e1e1e;
}

.tool-item {
  background: none;
  border: none;
  padding: 9px 16px;
  font-family: inherit;
  font-size: 14px;
  color: #444;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.tool-item.active {
  color: var(--text);
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
}

.tool-item.soon {
  cursor: default;
}

.soon-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #333;
}

.sidebar-footnote {
  font-size: 11px;
  color: #2a2a2a;
  padding: 12px 16px 0;
}

.tool-panels {
  flex: 1;
  padding: 28px 0 28px 32px;
  min-height: 220px;
}

.tool-panel {
  display: none;
  flex-direction: column;
  gap: 18px;
}

.tool-panel.active {
  display: flex;
}

.panel-logos {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.logo-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-paid {
  width: 52px;
  height: 52px;
}

.logo-paid img {
  width: 28px;
  height: 28px;
}

.logo-free {
  background:
    linear-gradient(#1a1a1a, #1a1a1a) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
}

.logo-paid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom left,
    transparent calc(50% - 2px),
    rgba(255, 69, 0, 0.75) calc(50% - 2px),
    rgba(255, 69, 0, 0.75) calc(50% + 2px),
    transparent calc(50% + 2px)
  );
}

.logo-arrow {
  font-size: 18px;
  color: #555;
  padding: 0 4px;
  flex-shrink: 0;
}

.panel-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.panel-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #888;
}

.panel-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-row {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.meta-label {
  color: #444;
  width: 70px;
  flex-shrink: 0;
}

.meta-value {
  color: #ccc;
}

.panel-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--grad);
  color: white !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: default;
  opacity: 0.55;
  align-self: flex-start;
}

.coming-soon-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.2);
  padding: 2px 7px;
  border-radius: 4px;
}

.panel-soon-text {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.panel-soon-sub {
  font-size: 14px;
  color: #2a2a2a;
}

@media (max-width: 540px) {
  .tools-section {
    flex-direction: column;
    border-top: 1px solid #1e1e1e;
  }

  .tools-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 16px 0 0;
    border-right: none;
    border-bottom: 1px solid #1e1e1e;
    gap: 4px;
  }

  .tool-item {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .sidebar-footnote {
    display: none;
  }

  .tool-panels {
    padding: 24px 0 0;
  }
}

footer {
  margin-top: 60px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #333;
}

@media (max-width: 480px) {
  form {
    flex-direction: column;
  }

  button[type="submit"] {
    width: 100%;
  }

  .logo-wrap svg {
    width: 300px;
    height: 118px;
  }
}
