:root {
  --bg-color: #0f1115;
  --bg-gradient: radial-gradient(circle at top, #161a22 0%, #0f1115 100%);
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-hover-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.08);
  --primary-color: #0077b6;
  --primary-hover: #0096c7;
  --text-main: #ffffff;
  --text-muted: #a0a0b0;
  --glow-color: rgba(0, 119, 182, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  background: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

.glow-text {
  color: var(--primary-hover);
  text-shadow: 0 0 15px var(--glow-color);
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow-color);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.secondary-btn:hover {
  background: var(--card-hover-bg);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.free-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.free-btn:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

.large-btn {
  padding: 14px 28px;
  font-size: 16px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 17, 21, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 17, 21, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 50px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 60%);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.showcase {
  padding: 100px 5%;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 44px;
}

.suite-figure {
  max-width: 620px;
  margin: 0 auto 52px;
}

.suite-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 119, 182, 0.12);
}

.suite-figure figcaption {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.tool-switch {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 52px;
}

.tool-switch-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px 14px 16px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.tool-switch-btn img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.tool-switch-btn strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.3s;
}

.tool-switch-btn em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.tool-switch-btn:hover {
  background: var(--card-hover-bg);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.tool-switch-btn.active {
  background: rgba(0, 119, 182, 0.1);
  border-color: rgba(0, 119, 182, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.tool-switch-btn.active strong {
  color: var(--primary-hover);
}

.tool-panel {
  display: none;
}

.tool-panel.active {
  display: block;
  animation: panelIn 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.showcase-container {
  display: flex;
  justify-content: center;
  perspective: 1200px;
  padding: 40px 0;
}

.features-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  text-align: left;
}

.features-tabs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-tab {
  padding: 24px 32px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.feature-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.feature-tab:hover {
  background: var(--card-hover-bg);
  transform: translateX(5px);
}

.feature-tab.active {
  background: rgba(0, 119, 182, 0.08);
  border-color: rgba(0, 119, 182, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateX(10px);
}

.feature-tab.active::before {
  transform: scaleY(1);
}

.feature-tab h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-main);
  transition: color 0.3s;
}

.feature-tab.active h3 {
  color: var(--primary-hover);
  text-shadow: 0 0 10px rgba(0, 119, 182, 0.3);
}

.feature-tab p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.features-display {
  flex: 1.2;
  position: relative;
  min-height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-3d-wrapper {
  position: absolute;
  width: 100%;
  max-width: 700px;
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(-15deg) scale(0.95);
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.app-3d-wrapper.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: rotateX(15deg) rotateY(-15deg) scale(1);
  z-index: 2;
}

.app-3d-wrapper.active:hover {
  transform: rotateX(5deg) rotateY(-5deg) translateY(-10px) scale(1);
}

.app-mockup {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  box-shadow:
    -20px 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 119, 182, 0.2);
  display: block;
  z-index: 2;
  position: relative;
}

.glow-backdrop {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: var(--primary-color);
  filter: blur(100px);
  opacity: 0.3;
  z-index: 1;
  transform: translateZ(-50px);
}

.download {
  padding: 120px 5%;
  display: flex;
  justify-content: center;
}

.download-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  max-width: 600px;
  width: 100%;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-hover), transparent);
}

.download-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.download-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.download-text {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 40px;
}

.download-btn {
  padding: 16px 32px;
  font-size: 18px;
  width: 100%;
  max-width: 300px;
  margin-bottom: 16px;
  gap: 12px;
}

.version-info {
  font-size: 13px;
  color: var(--text-muted);
}

footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 5%;
  background: rgba(0, 0, 0, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .footer-content {
    justify-content: center;
    text-align: center;
  }
}

.footer-content p {
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 992px) {
  .features-layout {
    flex-direction: column;
    gap: 40px;
  }

  .features-tabs {
    width: 100%;
  }

  .features-display {
    width: 100%;
    min-height: 300px;
  }

  .tool-switch {
    flex-direction: column;
    align-items: stretch;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-section-link {
    display: none;
  }

  .app-3d-wrapper.active {
    transform: rotateX(10deg) rotateY(0deg) scale(1);
  }

  .download-card {
    padding: 40px 20px;
  }
}

@media (max-width: 420px) {
  .navbar {
    padding: 0 4%;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .logo-text {
    font-size: 20px;
  }
}

.hidden {
  display: none !important;
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--card-border);
  padding: 12px 22px;
}

.ghost-btn:hover {
  background: var(--card-hover-bg);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

:focus-visible {
  outline: 2px solid var(--primary-hover);
  outline-offset: 3px;
}

[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible {
  outline: none;
}

.activation-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activation-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px 36px;
  text-align: center;
  max-width: 620px;
  width: 100%;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.activation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.activation-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
}

.activation-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  flex-wrap: wrap;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.55;
  transition: opacity 0.3s, color 0.3s;
}

.checkout-step+.checkout-step::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--card-border);
  margin-right: 8px;
}

.checkout-step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.checkout-step.current {
  opacity: 1;
  color: var(--text-main);
}

.checkout-step.current .checkout-step-dot {
  background: var(--primary-color);
  border-color: var(--primary-hover);
  color: #fff;
  box-shadow: 0 0 12px var(--glow-color);
}

.checkout-step.done {
  opacity: 1;
  color: #10b981;
}

.checkout-step.done .checkout-step-dot {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.5);
  color: #10b981;
}

.checkout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  margin-bottom: 20px;
}

.checkout-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.checkout-order-ref {
  font-size: 12.5px;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.4px;
}

.checkout-free-badge {
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.checkout-panel {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
}

.checkout-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.checkout-line-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.checkout-line-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.checkout-line-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkout-line-price {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-line-discount .checkout-line-name,
.checkout-line-discount .checkout-line-price {
  color: #10b981;
}

.checkout-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px dashed rgba(16, 185, 129, 0.45);
  border-radius: 5px;
  padding: 2px 7px;
}

.checkout-divider {
  height: 1px;
  background: var(--card-border);
  margin: 12px 0;
}

.checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.checkout-row-discount {
  color: #10b981;
  font-weight: 600;
}

.checkout-total {
  font-size: 16px;
  color: var(--text-main);
  font-weight: 600;
  padding-top: 2px;
}

.checkout-total strong {
  font-size: 20px;
  font-weight: 800;
  color: #10b981;
}

.checkout-strike {
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 8px;
  opacity: 0.75;
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.checkout-cta {
  width: 100%;
  max-width: 340px;
}

.checkout-fineprint {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.checkout-fineprint a {
  color: var(--primary-hover);
}

.notice {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 12px 15px;
  margin-top: 20px;
}

.notice>strong {
  display: flex;
  align-items: center;
  gap: 6px;
}

.notice a {
  color: #3b82f6;
}

.notice-warning {
  border-left: 3px solid #ffb703;
}

.notice-warning>strong {
  color: #ffb703;
}

.notice-info {
  border-left: 3px solid #3b82f6;
}

.notice-info>strong {
  color: #3b82f6;
}

#step-processing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0 10px;
}

#step-processing.hidden {
  display: none !important;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: #10b981;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: #10b981;
  font-weight: 600;
  letter-spacing: 1px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.processing-note {
  margin-top: 34px;
}

.progress-list {
  list-style: none;
  margin: 24px auto 4px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}

.progress-item {
  position: relative;
  padding-left: 28px;
  font-size: 13.5px;
  color: var(--text-muted);
  opacity: 0.45;
  transition: opacity 0.3s, color 0.3s;
}

.progress-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: transparent;
  transition: background 0.3s, border-color 0.3s;
}

.progress-item.active {
  opacity: 1;
  color: var(--text-main);
}

.progress-item.active::before {
  border-color: var(--primary-hover);
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

.progress-item.done {
  opacity: 1;
  color: #10b981;
}

.progress-item.done::before {
  animation: none;
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(16, 185, 129, 0.18);
}

.progress-item.done::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  width: 4px;
  height: 8px;
  border: solid #10b981;
  border-width: 0 2px 2px 0;
  transform: translateY(-60%) rotate(45deg);
}

.success-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.25);
  animation: markPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes markPop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.result-text {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.keys-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.key-display-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.key-display-box:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

.key-display-value {
  text-align: left;
  word-break: break-all;
  overflow-wrap: anywhere;
  min-width: 0;
  user-select: all;
}

.key-copy-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.key-copy-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.key-copy-button.copied {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.5);
}

.key-display-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(30deg);
  animation: shine 3s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.error-box {
  color: #ef4444;
  padding: 15px;
  text-align: center;
  border-left: 3px solid #ef4444;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  line-height: 1.55;
  font-size: 14px;
  margin-bottom: 4px;
}

@media (max-width: 560px) {
  .activation-card {
    padding: 32px 20px;
  }

  .checkout-steps {
    gap: 6px;
  }

  .checkout-step {
    font-size: 11.5px;
  }

  .checkout-step+.checkout-step::before {
    width: 12px;
    margin-right: 4px;
  }

  .key-display-box {
    flex-direction: column;
    align-items: stretch;
    font-size: 14px;
  }

  .key-copy-button {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .key-display-box::after,
  .loading-text,
  .success-mark {
    animation: none;
  }

  .spinner,
  .progress-item.active::before {
    animation-duration: 2.5s;
  }

  .hero-content,
  .tool-panel.active {
    animation: none;
    opacity: 1;
  }
}