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

:root {
  --bg: #030303;
  --bg-card: rgba(12, 12, 12, 0.75);
  --bg-card-hover: rgba(20, 20, 20, 0.85);
  --red: #ff2d2d;
  --red-bright: #ff4d4d;
  --red-glow: rgba(255, 45, 45, 0.45);
  --red-dim: rgba(255, 45, 45, 0.12);
  --red-dim-strong: rgba(255, 45, 45, 0.22);
  --text: #ffffff;
  --text-muted: #9a9a9a;
  --text-dim: #555555;
  --border: rgba(255, 255, 255, 0.07);
  --border-red: rgba(255, 45, 45, 0.35);
  --radius: 12px;
  --radius-pill: 999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  33% { transform: translate(30px, -20px) scale(1.05); opacity: 0.75; }
  66% { transform: translate(-20px, 15px) scale(0.95); opacity: 0.5; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.08); }
}

@keyframes grid-shift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ── Futuristic background effects ── */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at 50% 110%, rgba(255, 30, 30, 0.08), transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% -30%, rgba(255, 45, 45, 0.1), transparent 55%),
    #030303;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float-glow 12s ease-in-out infinite;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 40, 40, 0.35) 0%, rgba(255, 20, 20, 0.1) 40%, transparent 70%);
  animation: pulse-glow 8s ease-in-out infinite;
}

.glow-orb-2 {
  width: 450px;
  height: 450px;
  bottom: 10%;
  left: -8%;
  background: radial-gradient(circle, rgba(255, 50, 50, 0.2) 0%, transparent 70%);
  animation-delay: -4s;
}

.glow-orb-3 {
  width: 400px;
  height: 400px;
  top: 40%;
  right: -10%;
  background: radial-gradient(circle, rgba(255, 30, 60, 0.18) 0%, transparent 70%);
  animation-delay: -7s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 45, 45, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 45, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 10%, transparent 75%);
  animation: grid-shift 20s linear infinite;
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.008) 2px,
    rgba(255, 255, 255, 0.008) 4px
  );
  opacity: 0.5;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
  font-weight: 400;
  text-shadow: 0 0 40px rgba(255, 45, 45, 0.35);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 20px;
  box-shadow:
    0 0 30px rgba(255, 45, 45, 0.08),
    0 0 60px rgba(255, 45, 45, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.logo-text {
  font-weight: 700;
  font-size: 15px;
}

.version-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  background: var(--red-dim);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-red);
}

.nav-links {
  display: flex;
  gap: 28px;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-dashboard {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-dashboard:hover {
  color: var(--text);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: var(--radius-pill);
}

.btn-primary {
  background: var(--red);
  color: white;
  padding: 10px 22px;
}

.btn-primary:hover {
  background: var(--red-bright);
  box-shadow:
    0 0 30px var(--red-glow),
    0 0 60px rgba(255, 45, 45, 0.2),
    0 4px 20px rgba(255, 45, 45, 0.3);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 22px;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.btn-full {
  width: 100%;
  padding: 14px;
}

.btn-lifetime {
  padding: 14px 28px;
  font-size: 15px;
  gap: 16px;
}

.btn-lifetime .price {
  opacity: 0.7;
  font-weight: 500;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255, 45, 45, 0.2) 0%, rgba(255, 20, 20, 0.06) 45%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-shadow: 0 0 60px rgba(255, 45, 45, 0.15);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Section shared ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: var(--red-dim);
  border: 1px solid var(--border-red);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 48px;
}

.section-desc kbd {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 2px 10px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

/* ── ClickGUI Section ── */
.clickgui-section {
  padding: 100px 0 120px;
  text-align: center;
}

.clickgui-wrapper {
  margin-top: 16px;
}

.clickgui-panel {
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid var(--border-red);
  border-radius: 16px;
  padding: 20px;
  box-shadow:
    0 0 40px rgba(255, 45, 45, 0.12),
    0 0 80px rgba(255, 45, 45, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: left;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.clickgui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.clickgui-brand {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--red);
}

.brand-dot {
  color: var(--red);
}

.clickgui-hints {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.clickgui-hints .hint-active {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clickgui-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.active-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.active-count span {
  color: var(--red);
}

.reset-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
}

.reset-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.clickgui-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.clickgui-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.column-header {
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  letter-spacing: 0.03em;
}

.module-btn {
  background: #111;
  border: 1px solid rgba(232, 48, 42, 0.15);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  padding: 7px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-btn:hover {
  border-color: rgba(232, 48, 42, 0.4);
  color: var(--text);
}

.module-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: white;
  box-shadow: 0 0 12px var(--red-glow);
}

.module-btn.hidden {
  display: none;
}

.clickgui-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  color: var(--text-dim);
}

.clickgui-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
}

.clickgui-search input::placeholder {
  color: var(--text-dim);
}

.search-shortcut {
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ── Video Section ── */
.video-section {
  padding: 100px 0 120px;
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 48px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-red);
  box-shadow:
    0 0 40px rgba(255, 45, 45, 0.15),
    0 0 80px rgba(255, 45, 45, 0.06);
  background: #000;
}

.video-wrapper iframe,
.showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000;
  display: none;
}

.showcase-video.playing {
  display: block;
}

.video-error {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border-red);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  z-index: 2;
}

.video-error code {
  color: var(--red);
}

.video-poster {
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 1;
  background: #000 url('videos/poster.png') center / cover no-repeat;
}

.video-poster img {
  display: none;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 40px var(--red-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 2;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 60px var(--red-glow);
}

.video-poster.hidden {
  display: none;
}

/* ── Testimonials ── */
.testimonials-section {
  position: relative;
  padding: 100px 0 120px;
  text-align: center;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 45, 45, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 45, 45, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.3s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  border-color: var(--border-red);
  box-shadow: 0 0 30px rgba(255, 45, 45, 0.1), inset 0 1px 0 rgba(255, 45, 45, 0.05);
}

.testimonials-section .container {
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 48px 0 32px;
  text-align: left;
}

.testimonial-card .stars {
  color: var(--red);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.avatar-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.avatar-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.avatar-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }

.testimonial-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red-dim);
  border: 1px solid var(--border-red);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
}

.rating-badge .stars {
  color: var(--red);
  font-size: 14px;
  letter-spacing: 1px;
}

.rating-badge strong {
  font-size: 15px;
}

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

/* ── Pricing ── */
.pricing-section {
  padding: 100px 0 120px;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 48px auto 0;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: left;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  border-color: rgba(255, 45, 45, 0.2);
  box-shadow: 0 0 30px rgba(255, 45, 45, 0.08);
}

.pricing-featured {
  border-color: var(--border-red);
  box-shadow:
    0 0 40px rgba(255, 45, 45, 0.15),
    0 0 80px rgba(255, 45, 45, 0.06),
    inset 0 1px 0 rgba(255, 45, 45, 0.1);
}

.pricing-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.pricing-amount span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}

/* ── FAQ ── */
.faq-section {
  padding: 100px 0 120px;
  text-align: center;
}

.faq-list {
  max-width: 700px;
  margin: 48px auto 0;
  text-align: left;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: rgba(255, 45, 45, 0.2);
  box-shadow: 0 0 20px rgba(255, 45, 45, 0.06);
}

.faq-item.open {
  border-color: var(--border-red);
  box-shadow: 0 0 25px rgba(255, 45, 45, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-icon {
  color: var(--red);
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 20px;
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text-muted);
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--red);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 50;
  box-shadow: 0 4px 20px var(--red-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--red-glow);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .clickgui-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-dashboard {
    display: none;
  }

  .hero-title {
    font-size: 36px;
  }

  .clickgui-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clickgui-hints {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
}

/* ── Page layouts (purchase, dashboard, success) ── */
.page-section {
  min-height: 100vh;
  padding: 120px 24px 80px;
  text-align: center;
}

.page-container {
  max-width: 640px;
}

.checkout-card,
.dashboard-card,
.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  margin-top: 32px;
}

.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.checkout-product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.checkout-product h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

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

.checkout-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--red);
}

.checkout-features {
  list-style: none;
  margin-bottom: 24px;
}

.checkout-features li {
  padding: 8px 0 8px 20px;
  position: relative;
  color: var(--text-muted);
  font-size: 14px;
}

.checkout-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.checkout-form {
  margin-bottom: 20px;
}

.checkout-form label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.checkout-form input,
.license-key-row input {
  width: 100%;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
}

.checkout-form input:focus,
.license-key-row input:focus {
  border-color: var(--border-red);
}

.checkout-form input[readonly] {
  color: var(--text-muted);
  cursor: default;
  background: rgba(255, 255, 255, 0.03);
}

.btn-paypal {
  gap: 10px;
  padding: 16px;
  font-size: 16px;
}

.checkout-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

.checkout-divider {
  text-align: center;
  color: var(--text-dim);
  margin: 24px 0;
  font-size: 13px;
}

.license-key-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.license-key-row code {
  flex: 1;
  background: #111;
  border: 1px solid var(--border-red);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  color: var(--red);
  letter-spacing: 1px;
}

.license-key-row input {
  flex: 1;
}

.license-box {
  margin: 24px 0;
}

.license-box label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(46, 204, 113, 0.15);
  border: 2px solid #2ecc71;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #2ecc71;
  margin: 0 auto 24px;
}

.pending-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.status-card {
  text-align: center;
}

.status-card h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.status-card p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.success-steps {
  text-align: left;
  margin: 24px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.success-steps h4 {
  margin-bottom: 12px;
  font-size: 14px;
}

.success-steps ol {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.success-steps li {
  padding: 4px 0;
}

.success-steps a {
  color: var(--red);
}

.license-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.status-beta {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.status-full {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid var(--border-red);
}

.downloads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
}

.download-card.download-locked {
  opacity: 0.85;
}

.download-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.download-header h3 {
  font-size: 18px;
}

.tier-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.tier-free {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.tier-full {
  background: var(--red-dim);
  color: var(--red);
}

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

.download-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.download-card li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0 6px 18px;
  position: relative;
}

.download-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
}

.instructions-card ol {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.instructions-card li {
  padding: 6px 0;
}

.instructions-card code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
}

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

.activate-msg {
  margin-top: 12px;
  font-size: 13px;
}

.msg-success { color: #2ecc71; }
.msg-error { color: var(--red); }

.dashboard-card + .dashboard-card {
  margin-top: 16px;
}

/* ── Features Highlight ── */
.features-section {
  padding: 80px 0;
  text-align: center;
}

.feature-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.feature-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255, 45, 45, 0.06);
}

.feature-badge-icon {
  font-size: 16px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: 16px;
  padding: 32px 24px;
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 0 35px rgba(255, 45, 45, 0.15);
  transform: translateY(-2px);
}

.feature-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(255, 45, 45, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  text-shadow: 0 0 30px rgba(255, 45, 45, 0.4);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── Why Radium ── */
.why-section {
  padding: 80px 0;
}

.why-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(255, 45, 45, 0.08);
}

.why-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
}

.red-text {
  color: var(--red);
  text-shadow: 0 0 20px rgba(255, 45, 45, 0.3);
}

.why-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}

.why-col h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
}

.why-col ul {
  list-style: none;
}

.why-col li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0 6px 16px;
  position: relative;
}

.why-col li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.why-summary {
  text-align: center;
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.why-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.why-desc strong {
  color: var(--text);
}

.why-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 20px;
}

.why-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.why-stat-icon {
  font-size: 18px;
}

.why-trust {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Changelog ── */
.changelog-section {
  padding: 80px 0;
}

.changelog-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: 16px;
  padding: 36px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(255, 45, 45, 0.08);
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.changelog-header h2 {
  font-size: 22px;
  font-weight: 700;
}

.changelog-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  background: var(--red-dim);
  border: 1px solid var(--border-red);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.changelog-entry {
  border-left: 3px solid var(--red);
  padding-left: 24px;
  margin-bottom: 32px;
}

.changelog-entry:last-child {
  margin-bottom: 0;
}

.changelog-version {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.version-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--red);
}

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

.version-badge-latest,
.version-badge-dev {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid var(--border-red);
}

.changelog-entry ul {
  list-style: none;
}

.changelog-entry li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0 5px 22px;
  position: relative;
}

.changelog-entry li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.changelog-upcoming li::before {
  content: '⏳';
}

/* ── Install Guide ── */
.install-section {
  padding: 80px 0 120px;
  text-align: center;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  text-align: left;
}

.install-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: 16px;
  padding: 28px 24px;
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
  overflow: hidden;
}

.install-card:hover {
  box-shadow: 0 0 30px rgba(255, 45, 45, 0.12);
}

.install-card-wide {
  grid-column: span 2;
}

.install-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

.install-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
}

.install-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.install-card a {
  color: var(--red);
  text-decoration: none;
}

.install-card a:hover {
  text-decoration: underline;
}

.install-paths {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.install-paths div {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255, 45, 45, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'Courier New', monospace;
}

.install-paths strong {
  color: var(--red);
  font-family: var(--font);
  margin-right: 8px;
}

@media (max-width: 1024px) {
  .feature-cards,
  .install-grid {
    grid-template-columns: 1fr 1fr;
  }

  .install-card-wide {
    grid-column: span 2;
  }

  .stats-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .license-key-row {
    flex-direction: column;
  }

  .feature-cards,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .install-card-wide {
    grid-column: span 1;
  }

  .why-columns {
    grid-template-columns: 1fr;
  }

  .why-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .stats-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .clickgui-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
