:root {
  --bg-primary: #050812;
  --bg-radial: radial-gradient(ellipse 1150px 720px at 52% 22%, rgba(20, 52, 98, 0.5) 0%, rgba(11, 26, 52, 0.3) 48%, rgba(5, 8, 16, 0.98) 82%);
  --card-bg: linear-gradient(180deg, rgba(16, 28, 48, 0.68) 0%, rgba(9, 16, 28, 0.88) 100%);
  --card-border: rgba(45, 80, 135, 0.38);
  --card-border-hover: rgba(65, 120, 200, 0.55);
  --pill-nav-bg: rgba(11, 20, 36, 0.72);
  --pill-nav-border: rgba(45, 75, 120, 0.32);
  --pill-active-bg: #18335c;
  --pill-active-text: #ffffff;
  --nav-text: #7b8fa7;
  --nav-text-hover: #d6e4f8;
  --btn-primary-bg: #1c3864;
  --btn-primary-hover: #24467e;
  --btn-primary-border: rgba(75, 135, 220, 0.4);
  --btn-sec-bg: rgba(12, 20, 34, 0.65);
  --btn-sec-border: rgba(50, 78, 115, 0.4);
  --review-card-bg: rgba(11, 20, 36, 0.42);
  --review-card-border: rgba(34, 60, 98, 0.35);
  --accent-cyan: #4ea5ff;
  --accent-star: #4ea5ff;
  --text-primary: #ffffff;
  --text-muted: #8899b0;
  --text-review: #97a8bf;
  --text-author: #52647c;
  --font-cursive: 'Dancing Script', 'Satisfy', cursive;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-primary);
  background-image: var(--bg-radial);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Atmospheric Ambient lighting */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 700px 450px at var(--mouse-x, 52%) var(--mouse-y, 25%), rgba(30, 80, 160, 0.12), transparent 70%);
}

.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 38px 24px 48px 24px;
}

/* Top Pill Navigation */
.top-nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 46px;
  max-width: 100%;
  padding: 0 8px;
}

.pill-navbar {
  display: inline-flex;
  align-items: center;
  background: var(--pill-nav-bg);
  border: 1px solid var(--pill-nav-border);
  border-radius: 9999px;
  padding: 4px 6px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  max-width: calc(100vw - 32px);
  overflow-x: auto;
  scrollbar-width: none;
}

.pill-navbar::-webkit-scrollbar {
  display: none;
}

.nav-item {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--nav-text);
  padding: 6px 13px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.nav-item:hover:not(.active) {
  color: var(--nav-text-hover);
  background: rgba(255, 255, 255, 0.04);
}

.nav-item.active {
  background: var(--pill-active-bg);
  color: var(--pill-active-text);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18), 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Main Content Area */
.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex: 1;
}

/* Center Glass Card Container (Exact 1:1 Aspect Ratio) */
.client-card {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 42px 46px 20px 46px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow:
    0 30px 80px -15px rgba(0, 0, 0, 0.85),
    0 0 60px -10px rgba(26, 68, 134, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Top Specular Line */
.card-specular-highlight {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 180, 255, 0.35), transparent);
  pointer-events: none;
}

/* Hero Header */
.hero-header {
  text-align: center;
  margin-bottom: 24px;
}

.brand-title {
  font-family: var(--font-cursive);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(180deg, #dcf0ff 0%, #8ac5ff 45%, #4696ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(78, 160, 255, 0.55));
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  user-select: none;
}

.brand-description {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 400;
  letter-spacing: 0.1px;
}

/* Action Button Group */
.action-button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 26px 0 34px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 9999px;
  padding: 9px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: #ffffff;
  border: 1px solid var(--btn-primary-border);
  box-shadow: 0 4px 14px rgba(16, 42, 82, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
  border-color: rgba(110, 180, 255, 0.7);
  box-shadow: 0 6px 20px rgba(33, 85, 166, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--btn-sec-bg);
  color: #d1dced;
  border: 1px solid var(--btn-sec-border);
}

.btn-secondary:hover {
  background: rgba(22, 38, 65, 0.85);
  color: #ffffff;
  border-color: rgba(90, 135, 195, 0.65);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
}

.icon-arrow {
  transition: transform 0.2s ease;
}

.btn-secondary:hover .icon-arrow {
  transform: translate(1px, -1px);
}

/* Reviews Header Row */
.reviews-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.reviews-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #4ea5ff;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.reviews-section-label::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 6px #38bdf8;
}

.btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 32, 58, 0.65);
  border: 1px solid rgba(56, 120, 220, 0.4);
  color: #cbdbee;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.btn-write-review:hover {
  background: rgba(28, 55, 95, 0.85);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}

.write-icon {
  width: 13px;
  height: 13px;
}

/* Soldan Sağa Kayan Animasyonlu Marquee Konteyneri */
.reviews-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 4px 0;
  /* İki uçta pürüzsüz karartma maskesi */
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 8%, rgba(0,0,0,1) 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 8%, rgba(0,0,0,1) 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  /* Soldan sağa kesintisiz sonsuz kayma */
  animation: marquee-left-to-right 32s linear infinite;
  will-change: transform;
}

.reviews-marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-left-to-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.review-card {
  width: 275px;
  flex-shrink: 0;
  position: relative;
  background: var(--review-card-bg);
  border: 1px solid var(--review-card-border);
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 1px rgba(130, 185, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.review-card:hover {
  border-color: rgba(75, 140, 225, 0.6);
  background-color: rgba(16, 28, 50, 0.65);
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 6px;
}

.star-icon {
  width: 11.5px;
  height: 11.5px;
  fill: #4ea5ff;
  filter: drop-shadow(0 0 4px rgba(78, 165, 255, 0.5));
}

.review-text {
  font-size: 11.5px;
  line-height: 1.42;
  color: #9cb0c9;
  font-weight: 400;
  letter-spacing: 0.1px;
}

.review-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.review-author {
  font-size: 11px;
  color: #7b8fa7;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.verified-buyer-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 1px 6px;
  border-radius: 50px;
}

/* Review Submission Form in Modal */
.review-form-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.star-picker-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.star-picker-label {
  font-size: 12.5px;
  color: #8c9cb0;
}

.star-picker-stars {
  display: flex;
  gap: 4px;
  cursor: pointer;
}

.star-pick-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
  outline: none;
}

.star-pick-btn svg {
  width: 20px;
  height: 20px;
  fill: #2d3b50;
  transition: fill 0.15s;
}

.star-pick-btn.selected svg,
.star-pick-btn:hover svg {
  fill: #4ea5ff;
  filter: drop-shadow(0 0 6px rgba(78, 165, 255, 0.6));
}

.review-textarea {
  width: 100%;
  height: 90px;
  background: rgba(10, 18, 32, 0.65);
  border: 1px solid rgba(50, 85, 140, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 12.5px;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
}

.review-textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.review-form-actions {
  display: flex;
  justify-content: flex-end;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 15, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, rgba(16, 28, 48, 0.95) 0%, rgba(9, 16, 28, 0.98) 100%);
  border: 1px solid rgba(60, 100, 160, 0.5);
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(30, 80, 160, 0.3);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-window {
  transform: scale(1) translateY(0);
}

.modal-window.modal-lg {
  max-width: 780px;
}

.modal-header {
  /* position: relative kaldırıldı — modal-close modal-window'a göre konumlanır */
  margin-bottom: 20px;
}

.modal-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #4ea5ff;
  background: rgba(78, 165, 255, 0.12);
  border: 1px solid rgba(78, 165, 255, 0.25);
  border-radius: 6px;
  padding: 3px 8px;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  /* Sağ kenardan çarpı butonuna çakışmaması için boşluk */
  padding-right: 32px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #7b8fa7;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s;
  z-index: 10;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 22px;
}

/* Download Modal Spec Box */
.download-spec-box {
  background: rgba(10, 18, 32, 0.6);
  border: 1px solid rgba(40, 70, 115, 0.4);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

.spec-label {
  color: #70849e;
}

.spec-val {
  color: #d8e5f5;
  font-weight: 600;
}

.spec-hash {
  font-family: monospace;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
  color: #5bb3ff;
}

.btn-block {
  width: 100%;
}

.download-action-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Pricing Cards Container */
.pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-card {
  background: rgba(12, 22, 38, 0.6);
  border: 1px solid rgba(45, 75, 120, 0.4);
  border-radius: 14px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card.featured {
  background: rgba(18, 34, 60, 0.7);
  border-color: rgba(80, 150, 255, 0.6);
  box-shadow: 0 8px 30px rgba(20, 60, 130, 0.3);
}

.pricing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 160, 255, 0.7);
}

.pricing-card-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 50px;
  background: rgba(78, 165, 255, 0.15);
  color: #5bb3ff;
  margin-bottom: 12px;
}

.pricing-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 26px;
  font-weight: 700;
  color: #e2eeff;
  margin-bottom: 16px;
}

.pricing-features {
  list-style: none;
  font-size: 11.5px;
  color: #94a8c2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-features li::before {
  content: 'check';
  font-family: 'Material Symbols Rounded';
  font-size: 15px;
  color: #4ea5ff;
  font-weight: 700;
  vertical-align: middle;
}

/* Support Modal */
.support-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: rgba(10, 18, 32, 0.6);
  border: 1px solid rgba(40, 70, 115, 0.4);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-title {
  font-size: 11px;
  color: #6d829c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4ade80;
}

.ping-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.stat-val {
  font-size: 13.5px;
  font-weight: 600;
  color: #cbd5e1;
}

/* Auth Pill Navigation */
.auth-pill-container {
  flex-shrink: 0;
}

.auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
  transition: all 0.2s ease;
}

.auth-pill:hover {
  background: #4752C4;
  transform: translateY(-1px);
}

.auth-pill.user-logged {
  background: rgba(14, 25, 42, 0.85);
  border: 1px solid rgba(60, 100, 160, 0.5);
  padding: 4px 12px 4px 6px;
}

.user-avatar-mini {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name-text {
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
}

.user-role-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
}

.user-role-badge.authorized {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.user-role-badge.dev {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.user-role-badge.unauthorized {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.logout-link {
  color: #7b8fa7;
  text-decoration: none;
  font-size: 11px;
  margin-left: 4px;
  transition: color 0.15s;
}

.logout-link:hover {
  color: #f87171;
}

.discord-icon-mini {
  width: 15px;
  height: 15px;
}

/* ---------------------------------------------------------------------------
   Theme-Harmonized Dark Glass Modals (Step Client Dark Navy Glassmorphism)
   --------------------------------------------------------------------------- */
.modal-window.modal-metal {
  max-width: 580px;
  background: linear-gradient(180deg, rgba(16, 28, 48, 0.95) 0%, rgba(9, 16, 28, 0.98) 100%);
  border: 1px solid rgba(48, 88, 150, 0.45);
  border-radius: 24px;
  padding: 38px 36px 34px 36px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 
    0 35px 90px rgba(0, 0, 0, 0.92), 
    0 0 60px rgba(26, 68, 134, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.modal-window.modal-metal.modal-modules {
  max-width: 840px;
}

/* STEP Brand & Mascot in Modal */
.metal-header-brand {
  text-align: center;
  margin-bottom: 22px;
}

.step-cursive-brand {
  font-family: var(--font-cursive);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(180deg, #dcf0ff 0%, #8ac5ff 45%, #4696ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(78, 160, 255, 0.55));
  user-select: none;
  letter-spacing: 1px;
}

.step-slogan {
  font-size: 12px;
  color: #7094bf;
  letter-spacing: 2px;
  margin-top: 4px;
  text-transform: lowercase;
  font-weight: 500;
}

.metal-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #4ea5ff;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.metal-section-title::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
}

/* Metal Plans Stack (Themed Dark Blue Glassmorphic Rows) */
.metal-plans-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metal-plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 22, 38, 0.55);
  border: 1px solid rgba(45, 80, 135, 0.38);
  border-radius: 16px;
  padding: 16px 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 1px rgba(130, 185, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.metal-plan-card:hover {
  background: rgba(16, 32, 56, 0.65);
  border-color: rgba(75, 140, 235, 0.6);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1px rgba(160, 210, 255, 0.2), 0 8px 25px rgba(22, 60, 130, 0.35);
}

.metal-plan-card.slotted {
  background: rgba(22, 22, 48, 0.55);
  border-color: rgba(135, 95, 225, 0.4);
  box-shadow: inset 0 1px 1px rgba(190, 150, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.metal-plan-card.slotted:hover {
  background: rgba(30, 28, 65, 0.7);
  border-color: rgba(165, 120, 255, 0.65);
  box-shadow: inset 0 1px 1px rgba(210, 180, 255, 0.25), 0 8px 25px rgba(120, 60, 230, 0.35);
}

.plan-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.plan-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.slotted-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: #8b5cf6;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.plan-desc {
  font-size: 12px;
  color: #8fa2bd;
}

.plan-price-pill {
  background: #1c3864;
  color: #ffffff;
  border: 1px solid rgba(75, 135, 220, 0.5);
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 42, 82, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.plan-price-pill:hover {
  background: #24467e;
  border-color: rgba(100, 165, 255, 0.7);
  box-shadow: 0 6px 20px rgba(33, 85, 166, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.plan-price-pill.slotted-pill {
  background: #6d28d9;
  border-color: rgba(167, 139, 250, 0.6);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.plan-price-pill.slotted-pill:hover {
  background: #7c3aed;
  border-color: rgba(196, 181, 253, 0.8);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

/* Modules Bento Grid (Themed Dark Blue Glassmorphism) */
.modules-bento-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.35fr;
  grid-template-areas:
    "combat movement render"
    "player misc     render";
  gap: 12px;
}

.bento-box {
  background: rgba(11, 22, 38, 0.55);
  border: 1px solid rgba(45, 80, 135, 0.38);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 1px rgba(130, 185, 255, 0.1);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bento-box:hover {
  border-color: rgba(70, 130, 220, 0.55);
  background: rgba(14, 28, 48, 0.65);
}

.combat-box   { grid-area: combat; }
.movement-box { grid-area: movement; }
.render-box   { grid-area: render; }
.player-box   { grid-area: player; }
.misc-box     { grid-area: misc; }

.bento-box-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(48, 85, 140, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bento-box-title::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 6px #38bdf8;
}

/* Interactive Module Detail Box */
.module-detail-box {
  background: rgba(13, 25, 44, 0.7);
  border: 1px solid rgba(56, 120, 220, 0.45);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  min-height: 64px;
  display: flex;
  align-items: center;
  box-shadow: inset 0 1px 1px rgba(130, 185, 255, 0.15), 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.module-detail-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7d93b0;
  font-size: 12.5px;
}

.info-icon {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
}

.module-detail-active {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.module-detail-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.module-detail-name {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #7ec0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.module-detail-cat {
  font-size: 10.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 1px 7px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.module-detail-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #cbdbee;
}

.bento-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.module-badge {
  font-size: 11.5px;
  font-weight: 500;
  color: #cde1f8;
  background: rgba(18, 32, 54, 0.65);
  border: 1px solid rgba(55, 95, 160, 0.35);
  padding: 4px 11px;
  border-radius: 9999px;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  user-select: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.module-badge:hover {
  background: rgba(28, 52, 88, 0.85);
  border-color: rgba(90, 160, 255, 0.7);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

.module-badge.active {
  background: rgba(30, 85, 180, 0.75);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
  transform: translateY(-1px);
}

/* Auth Gate Card inside Download Modal */
.auth-gate-card {
  margin-top: 20px;
}

.gate-status-box {
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.gate-status-box.authorized {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.gate-status-box.unauthorized {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.gate-status-box.unauthenticated {
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.35);
}

.gate-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.gate-info {
  flex: 1;
}

.gate-username {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.gate-role-text {
  font-size: 12px;
  margin-top: 2px;
}

.gate-role-text.green {
  color: #4ade80;
}

.gate-role-text.red {
  color: #f87171;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   Responsive / Mobile Styles
   ============================================================ */

/* ---- Tablet (≤ 900px) ---- */
@media (max-width: 900px) {
  .client-card {
    padding: 32px 28px 18px 28px;
  }

  .brand-title {
    font-size: 58px;
  }

  .modal-window {
    max-width: 96vw;
    width: 96vw;
  }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
  /* Layout */
  .site-wrapper {
    padding: 18px 12px 36px 12px;
  }

  .main-content {
    width: 100%;
  }

  /* Card */
  .client-card {
    padding: 24px 16px 16px 16px;
    border-radius: 18px;
  }

  /* Hero */
  .brand-title {
    font-size: 46px;
    margin-bottom: 8px;
  }

  .brand-description {
    font-size: 12.5px;
  }

  .hero-header {
    margin-bottom: 16px;
  }

  /* Action buttons */
  .action-button-group {
    flex-direction: column;
    gap: 10px;
    margin: 18px 0 24px 0;
  }

  .action-button-group .btn {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 10px 18px;
  }

  /* Navigation */
  .top-nav-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .pill-navbar {
    max-width: calc(100vw - 24px);
    padding: 4px 4px;
  }

  .nav-item {
    font-size: 12px;
    padding: 5px 10px;
  }

  .auth-pill-container {
    margin-left: 0;
    flex-shrink: 0;
  }

  .auth-pill {
    font-size: 12px;
    padding: 6px 10px;
    gap: 5px;
  }

  .user-avatar-mini {
    width: 22px;
    height: 22px;
  }

  /* Modals */
  .modal-overlay {
    padding: 10px 0;
    align-items: flex-end;
  }

  .modal-window {
    max-width: 100vw;
    width: 100vw;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    overflow-y: auto;
    padding-bottom: env(safe-area-inset-bottom, 12px);
  }

  .modal-header {
    padding: 14px 16px 10px 16px;
  }

  .modal-body {
    padding: 12px 16px 20px 16px;
  }

  .modal-title {
    font-size: 16px;
  }

  /* Download / auth gate */
  .gate-status-box {
    padding: 10px 12px;
    gap: 10px;
  }

  .gate-avatar {
    width: 38px;
    height: 38px;
  }

  .gate-username {
    font-size: 13px;
  }

  .gate-role-text {
    font-size: 11px;
  }

  .btn-block {
    font-size: 13px;
    padding: 10px 16px;
  }

  /* Warning icon box */
  .download-admin-warning-top {
    font-size: 12px;
    padding: 9px 12px;
    gap: 7px;
  }

  /* License cards */
  .license-cards-container {
    max-height: 220px;
  }

  .license-single-card {
    padding: 10px 12px;
  }

  .license-grid-modern {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .license-grid-val-big {
    font-size: 15px;
  }

  /* Review marquee */
  .review-section {
    margin-top: 16px;
  }

  .review-card {
    min-width: 210px;
    max-width: 240px;
    padding: 14px 14px;
  }

  .review-text {
    font-size: 12px;
  }

  /* Review form */
  .review-textarea {
    font-size: 13px;
    min-height: 80px;
  }

  /* Customers grid */
  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .customer-card {
    padding: 10px 8px;
  }

  .customer-avatar {
    width: 38px;
    height: 38px;
  }

  .customer-name {
    font-size: 11px;
  }

  .customers-section-title {
    font-size: 11px;
    margin-bottom: 8px;
  }

  /* Modules bento */
  .modules-bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "combat"
      "movement"
      "render"
      "player"
      "misc";
    gap: 8px;
  }

  .module-detail-box {
    padding: 10px 12px;
    font-size: 12px;
    min-height: 60px;
  }

  .module-badge {
    font-size: 11px;
    padding: 4px 8px;
  }

  /* Support/pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ---- Small phones (≤ 420px) ---- */
@media (max-width: 420px) {
  .brand-title {
    font-size: 36px;
  }

  .brand-description {
    font-size: 12px;
  }

  .nav-item {
    font-size: 11px;
    padding: 5px 8px;
  }

  .customers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .customer-avatar {
    width: 32px;
    height: 32px;
  }

  .license-grid-modern {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-width: 180px;
    max-width: 200px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  user-select: none;
}

.license-cards-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.license-cards-container::-webkit-scrollbar {
  width: 4px;
}

.license-cards-container::-webkit-scrollbar-thumb {
  background: rgba(78, 165, 255, 0.3);
  border-radius: 4px;
}

.license-single-card {
  background: linear-gradient(135deg, rgba(16,28,48,0.85) 0%, rgba(9,16,28,0.95) 100%);
  border: 1px solid rgba(78,165,255,0.22);
  border-radius: 12px;
  padding: 14px 16px;
  animation: fadeInUp 0.4s ease;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.license-single-card:hover {
  border-color: rgba(78,165,255,0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.license-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.license-card-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #4ea5ff;
  text-transform: uppercase;
}

.license-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.license-grid-item {
  background: rgba(78,165,255,0.06);
  border: 1px solid rgba(78,165,255,0.12);
  border-radius: 8px;
  padding: 8px 10px;
}

.license-grid-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #7b8fa7;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 3px;
}

.license-grid-val-big {
  font-size: 18px;
  font-weight: 700;
  color: #4ea5ff;
}

.license-grid-val-small {
  font-size: 12px;
  font-weight: 600;
  color: #d6e4f8;
  word-break: break-all;
}

.license-card-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(45,80,135,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.license-key-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #7b8fa7;
  font-family: monospace;
  background: rgba(0,0,0,0.3);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* İndirme — lisans bilgisinin üstündeki kalıcı kırmızı uyarı (uyarı ikonlu) */
.download-admin-warning-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  color: #f87171;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1px;
  animation: pulseWarning 2s infinite ease-in-out;
}

/* İndirme & Yönetici Olarak Çalıştır Uyarısı (eski — aşağı konumlu) */
.download-admin-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 11px 16px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  color: #ef4444;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.15);
  animation: pulseWarning 2s infinite ease-in-out;
}

.download-admin-warning .material-symbols-rounded {
  color: #ef4444;
  font-size: 20px;
  flex-shrink: 0;
}

@keyframes pulseWarning {
  0%, 100% {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.15);
  }
  50% {
    border-color: rgba(239, 68, 68, 0.85);
    box-shadow: 0 4px 24px rgba(239, 68, 68, 0.35);
  }
}

/* Yorum yönetim butonları (DEV kullanıcılar için) */
.review-admin-controls {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.review-admin-btn {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 6px;
  padding: 3px 6px;
  cursor: pointer;
  color: #f87171;
  transition: background 0.18s, border-color 0.18s;
  display: flex;
  align-items: center;
}

.review-admin-btn.hide {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.25);
  color: #fbbf24;
}

.review-admin-btn:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.5);
}

.review-admin-btn.hide:hover {
  background: rgba(251, 191, 36, 0.22);
  border-color: rgba(251, 191, 36, 0.5);
}

/* Customers bölümü */
.customers-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #52647c;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(45, 75, 120, 0.25);
}

.customers-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 28, 48, 0.45);
  border: 1px solid rgba(45, 75, 120, 0.25);
  border-radius: 10px;
  padding: 9px 12px;
  transition: border-color 0.18s;
}

.customer-card:hover {
  border-color: rgba(78, 165, 255, 0.3);
}

.customer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.customer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.customer-name {
  font-size: 13px;
  font-weight: 500;
  color: #c8d8ee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

