/* ====================================================================
   PyDM Pro Official Website Stylesheet
   Modern, Ultra-Fast, Responsive, Dark/Light Theme Support
   Inspired by misterdownloadmanager.com & internetdownloadmanager.com
   ==================================================================== */

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #121927;
  --bg-card: #182338;
  --bg-card-hover: #1f2d48;
  --border-color: #263550;
  --border-light: #334668;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-cyan: #06b6d4;
  --accent-blue: #38bdf8;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --accent-red: #ef4444;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

::selection {
  background: rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

body.light-theme ::selection {
  background: rgba(2, 132, 199, 0.25);
  color: #0f172a;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Top Announcement Bar --- */
.top-announcement {
  background: linear-gradient(90deg, #1e3a8a, #065f46);
  color: #e0f2fe;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-announcement strong {
  color: #38bdf8;
}

/* --- Navigation Bar --- */
.navbar {
  background-color: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.nav-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap !important;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 22px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text strong {
  color: var(--accent-blue);
}

.version-badge {
  font-size: 11px;
  background: #1e293b;
  color: #38bdf8;
  padding: 2px 7px;
  border-radius: 9999px;
  border: 1px solid #334155;
  margin-left: 6px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px !important;
  list-style: none;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  margin: 0;
  padding: 0;
  flex-shrink: 0 !important;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px !important;
  font-weight: 500;
  padding: 4px 6px !important;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap !important;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.nav-actions .btn-sm {
  padding: 5px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.nav-actions .btn,
.nav-actions button,
#site-theme-toggle-btn,
#site-lang-toggle-btn {
  height: 34px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

#site-theme-toggle-btn,
#site-lang-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  cursor: pointer;
  transition: all 0.2s ease;
}

#site-theme-toggle-btn:hover,
#site-lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #38bdf8;
  color: #ffffff;
}

.nav-actions .btn-primary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: 1px solid #38bdf8;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
}

.nav-actions .btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.5);
  transform: translateY(-1px);
}

.nav-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #38bdf8;
  color: #ffffff;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--accent-blue);
}

.btn-success {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  border-color: #34d399;
}

/* --- Hero Section --- */
.hero {
  padding: 70px 0 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(circle at 50% 0%, #172554 0%, #0a0e17 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.badge-hero {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: 9999px;
  color: #38bdf8;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title,
[data-cms="hero_title"] {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff !important;
}

.hero-title strong {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub,
[data-cms="hero_sub"] {
  font-size: 17px;
  color: #cbd5e1 !important;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-download-hero {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #60a5fa;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-download-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.6);
}

.hero-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

/* --- Hero Mockup & Window Graphic --- */
.hero-mockup-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.mockup-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.window-title {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

.speed-meter-box {
  background: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin-bottom: 14px;
}

.speed-number {
  font-size: 38px;
  font-weight: 900;
  color: #10b981;
  font-family: monospace;
}

.speed-unit {
  font-size: 14px;
  color: #64748b;
  margin-left: 4px;
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 8px 10px;
  background: #1e293b;
  border-radius: 6px;
  margin-bottom: 8px;
  border: 1px solid #334155;
}

/* --- Section Headers --- */
.section {
  padding: 70px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--accent-blue);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #ffffff;
}

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

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  background-color: var(--bg-card-hover);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

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

/* --- Benchmark & Performance Comparison Section --- */
.benchmark-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 40px;
}

.benchmark-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  padding: 20px 24px;
  border-radius: 8px;
  border: 1px solid #1e293b;
  margin-bottom: 30px;
}

.benchmark-stat-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.benchmark-stat-title small {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 400;
  margin-top: 4px;
}

.benchmark-badge-winner {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #10b981;
  padding: 6px 14px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 13px;
}

.compare-bar-container {
  margin-bottom: 24px;
}

.compare-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.compare-bar-label .speed-val {
  color: #38bdf8;
  font-family: monospace;
}

.compare-bar-bg {
  height: 28px;
  background: #0f172a;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid #334155;
}

.compare-bar-fill {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  transition: width 1s ease-in-out;
}

.fill-pydm {
  background: linear-gradient(90deg, #0284c7, #10b981);
  width: 100%;
}

.fill-mdm {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  width: 87%;
}

.fill-fdm {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  width: 32%;
}

.fill-idm {
  background: linear-gradient(90deg, #ef4444, #b91c1c);
  width: 18%;
}

/* Benchmark Comparison Table */
.table-responsive {
  overflow-x: auto;
  margin-top: 24px;
}

.bench-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.bench-table th,
.bench-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.bench-table th {
  background-color: #0f172a;
  color: #94a3b8;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bench-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.col-highlight {
  background-color: rgba(6, 182, 212, 0.07);
  font-weight: 700;
  color: #38bdf8 !important;
  border-left: 1px solid rgba(6, 182, 212, 0.2);
  border-right: 1px solid rgba(6, 182, 212, 0.2);
}

.col-win {
  color: #10b981;
  font-weight: 700;
}

/* --- Themes Gallery Section --- */
.themes-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.theme-pill-selector {
  display: inline-flex;
  background: #0f172a;
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid #334155;
}

.theme-pill-btn {
  padding: 8px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.theme-pill-btn.active {
  background: #38bdf8;
  color: #0a0e17;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
}

.theme-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-blue);
}

.theme-preview-box {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  padding: 12px;
  position: relative;
}

.theme-card-body {
  padding: 16px;
}

.theme-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.theme-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Download Tables (Windows, Linux, macOS) --- */
.os-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.os-tab-btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s;
}

.os-tab-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
}

.download-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.download-table th,
.download-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.download-table th {
  background: #0f172a;
  color: #94a3b8;
  font-weight: 600;
  text-align: left;
}

.download-pill-btn {
  display: inline-block;
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid #334155;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}

.download-pill-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
}

.terminal-box {
  background: #090d16;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 13px;
  color: #38bdf8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.flag-item {
  font-size: 20px;
  padding: 4px 6px;
  background: #1e293b;
  border-radius: 4px;
  border: 1px solid #334155;
}

/* --- Pricing Cards (Buy / License) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  position: relative;
  transition: all 0.2s;
}

.pricing-card.featured {
  border-color: #38bdf8;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.15);
  background: #192742;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0284c7;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

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

.pricing-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-main);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li strong {
  color: #38bdf8;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Contact & Forms --- */
.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

/* --- Footer --- */
.footer {
  background-color: #070a10;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 24px;
  color: var(--text-dim);
  font-size: 14px;
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

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

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid #1a2234;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
  }
}

/* --- Exact MisterDownloadManager Benchmark Theme Additions --- */
.bench-page-bg {
  background-color: #0c1a33;
}

.bench-badge-race {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bench-card-wrapper {
  background: #0f2347;
  border: 1px solid #1e3a6d;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.bench-callout-hero {
  background: linear-gradient(180deg, #102a54 0%, #0d1e3d 100%);
  border: 1px solid #2563eb;
  border-radius: 14px;
  padding: 36px 32px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bench-callout-hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.bench-multiplier-big {
  font-size: 76px;
  font-weight: 900;
  color: #4ade80;
  line-height: 1;
  font-family: 'JetBrains Mono', monospace, sans-serif;
  text-shadow: 0 0 35px rgba(74, 222, 128, 0.4);
  margin-bottom: 12px;
}

.bench-multiplier-sub {
  font-size: 19px;
  color: #e2e8f0;
  font-weight: 600;
  max-width: 680px;
  margin: 0 auto 24px;
}

.bench-multiplier-caption {
  font-size: 14px;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto;
}

.bench-scenario-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.bench-scenario-desc {
  font-size: 13.5px;
  color: #94a3b8;
  margin-bottom: 20px;
}

.bench-lead-pill {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid #22c55e;
  color: #86efac;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
}

.bench-bar-row {
  display: grid;
  grid-template-columns: 210px 1fr 110px;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13.5px;
}

@media (max-width: 700px) {
  .bench-bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.bench-bar-name {
  color: #e2e8f0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bench-bar-track {
  height: 26px;
  background: #091426;
  border: 1px solid #1a3359;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.bench-bar-meter {
  height: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.bench-bar-time {
  font-family: monospace;
  font-weight: 700;
  text-align: right;
  color: #cbd5e1;
}

.bench-bar-time.is-winner {
  color: #4ade80;
}

.meter-pydm {
  background: linear-gradient(90deg, #059669, #10b981);
}

.meter-mdm {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.meter-fdm {
  background: linear-gradient(90deg, #4338ca, #6366f1);
}

.meter-idm {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}

.bench-hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.bench-hardware-item {
  background: #081324;
  border: 1px solid #162b4c;
  border-radius: 8px;
  padding: 14px 16px;
}

.bench-hardware-item .hw-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.bench-hardware-item .hw-val {
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
}

/* 480 connections vs 2 Graphic */
.bench-conns-box {
  background: #0b1a33;
  border: 1px solid #1e3a6d;
  border-radius: 12px;
  padding: 28px;
  margin: 36px 0;
}

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

@media (max-width: 768px) {
  .bench-conns-grid {
    grid-template-columns: 1fr;
  }
}

.bench-conns-card {
  background: #071124;
  border: 1px solid #192d4f;
  border-radius: 10px;
  padding: 20px;
}

.bench-conns-card.good {
  border-color: #22c55e;
}

.bench-conns-card.bad {
  border-color: #ef4444;
}

.bench-conns-num {
  font-size: 42px;
  font-weight: 900;
  font-family: monospace;
  margin: 10px 0;
}

.bench-conns-num.good {
  color: #4ade80;
}

.bench-conns-num.bad {
  color: #f87171;
}

/* 7-in-a-row Checkmarks Grid */
.bench-checklist-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.bench-check-badge {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
}

.bench-check-badge span {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

/* ==========================================================================
   REGHELP (Registration & Activation Help Page) - Modern Visual Styles
   ========================================================================== */
.reghelp-hero-banner {
  background: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.15) 0%, rgba(10, 14, 23, 0) 70%), #0b1120;
  border-bottom: 1px solid #1e293b;
  padding: 60px 0 40px;
  text-align: center;
}

.reghelp-step-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.reghelp-step-box:hover {
  border-color: #38bdf8;
  box-shadow: 0 12px 35px rgba(56, 189, 248, 0.1);
}

.reghelp-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.reghelp-step-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #031326;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
  flex-shrink: 0;
}

.reghelp-step-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

/* Realistic Windows 11 Registration Dialog Mockup */
.dialog-mockup-window {
  max-width: 520px;
  margin: 24px auto 10px;
  background: #1e1e24;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.dialog-mockup-titlebar {
  background: #18181b;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #27272a;
}

.dialog-mockup-titlebar-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #e4e4e7;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dialog-mockup-controls {
  display: flex;
  gap: 8px;
}

.dialog-mockup-btn-win {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3f3f46;
}

.dialog-mockup-btn-win.close {
  background: #ef4444;
}

.dialog-mockup-body {
  padding: 24px 26px;
  background: #18181b;
}

.dialog-mockup-desc {
  font-size: 13px;
  color: #a1a1aa;
  margin-bottom: 18px;
  line-height: 1.5;
}

.dialog-input-row {
  margin-bottom: 14px;
}

.dialog-input-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #d4d4d8;
  margin-bottom: 5px;
}

.dialog-input-field {
  width: 100%;
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: #fafafa;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}

.dialog-input-field.masked-serial {
  font-family: 'Consolas', 'Courier New', monospace;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 1.5px;
  background: #091322;
  border-color: #0284c7;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.dialog-mockup-footer {
  padding: 12px 24px;
  background: #121214;
  border-top: 1px solid #27272a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-mockup-button {
  padding: 6px 18px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dialog-mockup-button.ok {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
}

.dialog-mockup-button.cancel {
  background: #27272a;
  color: #d4d4d8;
  border: 1px solid #3f3f46;
}

.dialog-mockup-button.help {
  background: transparent;
  color: #38bdf8;
  text-decoration: underline;
  padding: 0;
}

/* Master Keys Grid */
.master-keys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.master-key-card {
  background: #091324;
  border: 1px solid #1e3a6d;
  border-radius: 10px;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}

.master-key-card .key-tier-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
}

.master-key-card .key-serial-masked {
  font-family: 'Consolas', monospace;
  font-size: 15px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 1px;
  word-break: break-all;
  margin-bottom: 8px;
}

.master-key-card .key-note {
  font-size: 12px;
  color: #64748b;
}

/* CMS Editor Panels */
.cms-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .cms-editor-grid {
    grid-template-columns: 1fr;
  }
}

.cms-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.cms-card-title {
  color: #38bdf8;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 10px;
}

.cms-field {
  margin-bottom: 16px;
}

.cms-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}

.cms-field input[type="text"],
.cms-field textarea {
  width: 100%;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: #ffffff;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

.cms-field textarea {
  resize: vertical;
  min-height: 70px;
}

.cms-field input[type="text"]:focus,
.cms-field textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.cms-action-bar {
  position: sticky;
  bottom: 20px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #38bdf8;
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin-top: 30px;
  z-index: 100;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   NEW ADVANCED BENCHMARK STYLES ("Every run is a dot", Timing, Efficiency)
   ========================================================================== */
.dot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

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

.dot-card {
  background: #091322;
  border: 1px solid #192d4f;
  border-radius: 10px;
  padding: 20px 22px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.dot-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.dot-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.dot-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.dot-card-multiplier {
  font-size: 13.5px;
  font-weight: 800;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.dot-timeline-row {
  margin-bottom: 14px;
}

.dot-timeline-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 5px;
}

.dot-timeline-meta .app-name {
  font-weight: 700;
}

.dot-timeline-meta .app-val {
  font-family: monospace;
  font-weight: 700;
}

.dot-timeline-track {
  position: relative;
  height: 24px;
  background: #050b14;
  border: 1px solid #152238;
  border-radius: 6px;
  overflow: hidden;
}

.dot-whisker-bar {
  position: absolute;
  top: 6px;
  height: 12px;
  border-radius: 3px;
  opacity: 0.85;
}

.dot-median-line {
  position: absolute;
  top: 2px;
  height: 20px;
  width: 3px;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.dot-scatter-points {
  position: absolute;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.dot-scale-axis {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: #64748b;
  margin-top: 6px;
  font-family: monospace;
  border-top: 1px dashed #1e293b;
  padding-top: 4px;
}

.dot-footer-faults {
  font-size: 11px;
  color: #64748b;
  margin-top: 8px;
  font-family: monospace;
}

/* Where the Time Goes - Horizontal Stacked Chart */
.timing-stacked-chart {
  background: #091322;
  border: 1px solid #192d4f;
  border-radius: 10px;
  padding: 24px;
  margin-top: 24px;
}

.time-row {
  margin-bottom: 16px;
}

.time-row-label {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 6px;
}

.time-bar-wrapper {
  height: 20px;
  background: #050b14;
  border-radius: 4px;
  display: flex;
  overflow: hidden;
  border: 1px solid #17253d;
}

.time-bar-startup {
  background: #f59e0b;
}

.time-bar-transfer {
  background: #0284c7;
}

.time-bar-finish {
  background: #a855f7;
}

/* What It Costs the Computer - Efficiency Bars */
.cost-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .cost-chart-grid {
    grid-template-columns: 1fr;
  }
}

.cost-card {
  background: #091322;
  border: 1px solid #192d4f;
  border-radius: 10px;
  padding: 22px;
}

/* How It Was Measured Card */
.how-measured-card {
  background: #091322;
  border: 1px solid #1e3a6d;
  border-radius: 10px;
  padding: 26px;
  margin-top: 30px;
}

.how-measured-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.how-measured-card li {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 14px;
  padding-left: 20px;
  position: relative;
}

.how-measured-card li::before {
  content: "•";
  color: #38bdf8;
  position: absolute;
  left: 0;
  font-size: 20px;
  top: -3px;
}

.how-measured-card li strong {
  color: #ffffff;
}

/* ==========================================================================
   ADMIN PANEL: Multi-Page CMS Sub-Tabs & Payment Gateway Styles
   ========================================================================== */
.cms-subnav-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  border-bottom: 1px solid #334155;
  margin-bottom: 24px;
}

.cms-subnav-btn {
  background: #1e293b;
  color: #94a3b8;
  border: 1px solid #334155;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.cms-subnav-btn:hover {
  color: #ffffff;
  border-color: #38bdf8;
}

.cms-subnav-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
}

.cms-item-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cms-item-info h4 {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 4px;
}

.cms-item-info p {
  color: #94a3b8;
  font-size: 12.5px;
  margin: 0;
}

/* Payment Status Badges */
.pay-status-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-block;
  text-transform: uppercase;
}

.pay-status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.pay-status-badge.verified {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.pay-status-badge.rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Modal Overlay & Dialog for CMS & Payments */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
}

.admin-modal-dialog {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 12px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  padding: 24px;
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.admin-modal-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.admin-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

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

/* ==========================================================================
   ENHANCED FOOTER (5-COLUMN MATRIX MATCHING IMAGE) & DISCLAIMER
   ========================================================================== */
.footer-grid-5 {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand-bio {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
  max-width: 320px;
}

.footer-action-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-action-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.footer-action-link:hover {
  color: #38bdf8;
}

.footer-disclaimer-text {
  font-size: 12px;
  color: #64748b;
  margin-top: 14px;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

@media (max-width: 992px) {
  .footer-grid-5 {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .footer-grid-5 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   DOWNLOAD PAGE: LANGUAGE CARDS, BROWSER EXTENSIONS & OLD RELEASES
   ========================================================================== */
.language-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.lang-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.lang-card:hover {
  border-color: #38bdf8;
  background: #1e293b;
  transform: translateY(-2px);
}

.lang-flag {
  font-size: 26px;
  line-height: 1;
}

.lang-info-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
}

.lang-info-sub {
  color: #94a3b8;
  font-size: 11.5px;
}

.ext-browser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.ext-browser-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ext-browser-card:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(56, 189, 248, 0.15);
}

.ext-browser-icon {
  font-size: 38px;
  margin-bottom: 8px;
}

.ext-browser-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.ext-browser-note {
  color: #94a3b8;
  font-size: 11.5px;
  margin-bottom: 14px;
}

.old-releases-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.old-releases-table th,
.old-releases-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #1e293b;
  font-size: 13px;
}

.old-releases-table th {
  background: #0f172a;
  color: #94a3b8;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-align: left;
}

/* Footer Links & Legal CMS Manager Styles */
.footer-col-filter {
  transition: all 0.2s ease;
  font-size: 12.5px;
  padding: 6px 14px;
}

.footer-col-filter.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #38bdf8 !important;
}

.fpage-editor-pane {
  background: #080c14;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 20px;
}

/* 1,000,000 Keys Vault Strikethrough & Inventory Badges */
.serial-key-strike {
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
  color: #64748b !important;
  font-family: monospace;
  font-weight: 600;
}

.vault-filter-btn.active {
  background: #20D84D !important;
  color: #071316 !important;
  font-weight: 700;
  border-color: #20D84D !important;
}

.support-status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.support-status-pill.unread {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid #ef4444;
}
.support-status-pill.replied {
  background: rgba(32, 216, 77, 0.2);
  color: #20D84D;
  border: 1px solid #20D84D;
}
.support-status-pill.resolved {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  border: 1px solid #64748b;
}

/* ====================================================================
   1. Header & Brand Logo Prominence (Exact User Requirement)
   ==================================================================== */
.logo img, 
.navbar .logo img, 
header .logo img,
.brand-logo img,
.sidebar-logo img,
.header-logo img,
.admin-brand img {
  height: 48px !important;
  max-height: 52px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.logo img:hover {
  transform: scale(1.02);
}

/* ====================================================================
   2. Light / White Theme Mode Stylesheet
   ==================================================================== */
body.light-theme {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-color: #cbd5e1;
  --border-light: #94a3b8;
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #475569;
  background-color: var(--bg-primary);
  color: var(--text-main);
}
body.light-theme .navbar {
  background-color: #ffffff !important;
  border-bottom: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}
body.light-theme .top-announcement {
  background: linear-gradient(90deg, #1d4ed8, #047857);
  color: #ffffff;
}
body.light-theme .nav-links a {
  color: #1e293b !important;
  font-weight: 600 !important;
}
body.light-theme .nav-links a:hover,
body.light-theme .nav-links a.active {
  color: #0284c7 !important;
}
body.light-theme #nav-user-name,
body.light-theme #admin-badge-name,
body.light-theme .nav-actions span {
  color: #0f172a !important;
}

/* Light Theme - Hero Section (Crisp, High-Contrast Light Mode) */
body.light-theme .hero {
  background: radial-gradient(circle at 50% 0%, #e0f2fe 0%, #f8fafc 80%) !important;
  border-bottom: 1px solid #cbd5e1 !important;
}
body.light-theme .hero-title,
body.light-theme .hero h1,
body.light-theme [data-cms="hero_title"] {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}
body.light-theme .hero-title strong {
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  background: none !important;
}
body.light-theme .hero-sub,
body.light-theme .hero p,
body.light-theme [data-cms="hero_sub"] {
  color: #1e293b !important;
  font-weight: 500 !important;
}
body.light-theme .hero-meta span {
  color: #334155 !important;
  font-weight: 600 !important;
}
body.light-theme .badge-hero {
  background: rgba(2, 132, 199, 0.12) !important;
  border: 1px solid rgba(2, 132, 199, 0.3) !important;
  color: #0284c7 !important;
  font-weight: 700 !important;
}
body.light-theme .hero-mockup-wrapper {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1) !important;
}
body.light-theme .mockup-window-header {
  background: #f1f5f9 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body.light-theme .window-title {
  color: #0f172a !important;
  font-weight: 600 !important;
}
body.light-theme .mockup-row {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
body.light-theme .mockup-row span:first-child {
  color: #0f172a !important;
  font-weight: 600 !important;
}
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6 {
  color: #0f172a !important;
}
body.light-theme [style*="color: #ffffff"],
body.light-theme [style*="color: #cbd5e1"] {
  color: #1e293b !important;
}
body.light-theme [style*="color: #94a3b8"] {
  color: #475569 !important;
}
body.light-theme [style*="color: #64748b"] {
  color: #334155 !important;
}
body.light-theme .benchmark-box,
body.light-theme .card,
body.light-theme .feature-card,
body.light-theme .stat-card,
body.light-theme .admin-card,
body.light-theme .cms-card,
body.light-theme .cart-summary-box,
body.light-theme .cart-summary-card,
body.light-theme .form-box,
body.light-theme .pay-method-card,
body.light-theme .pay-brand-card,
body.light-theme .pay-instruction-box,
body.light-theme .pay-instruction-card {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  color: #0f172a !important;
}
body.light-theme .pay-brand-name {
  color: #0f172a !important;
}
body.light-theme .pricing-card {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}
body.light-theme .pricing-card.featured {
  background: #f0fdf4 !important;
  border-color: #22c55e !important;
}
body.light-theme .pricing-title,
body.light-theme .pricing-price {
  color: #0f172a !important;
}
body.light-theme .pricing-features li {
  color: #334155 !important;
}
body.light-theme .dash-tab-btn,
body.light-theme .os-tab-btn {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}
body.light-theme .dash-tab-btn.active,
body.light-theme .os-tab-btn.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}
body.light-theme .footer {
  background-color: #f1f5f9;
  border-top-color: #e2e8f0;
  color: #334155;
}
body.light-theme .footer-col h4 {
  color: #0f172a;
}
body.light-theme .footer-col ul li a,
body.light-theme .footer-action-link,
body.light-theme .footer-brand-bio,
body.light-theme .footer-disclaimer-text {
  color: #64748b;
}
body.light-theme .footer-bottom {
  border-top-color: #e2e8f0;
  color: #64748b;
}
body.light-theme .bench-table th,
body.light-theme table th {
  background: #f8fafc;
  color: #0f172a;
  border-bottom-color: #cbd5e1;
}
body.light-theme .bench-table td,
body.light-theme table td {
  border-color: #e2e8f0;
  color: #334155;
}
body.light-theme .form-input,
body.light-theme input[type="text"],
body.light-theme input[type="email"],
body.light-theme input[type="password"],
body.light-theme input[type="number"],
body.light-theme select,
body.light-theme textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}
body.light-theme .btn-secondary {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
body.light-theme .btn-secondary:hover {
  background: #e2e8f0;
}

/* ====================================================================
   3. Payment Gateway Selector & Modal Styles (Matching User Reference)
   ==================================================================== */
.pay-selector-container {
  max-width: 860px;
  margin: 30px auto;
  text-align: center;
}
.pay-selector-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}
.pay-selector-amount {
  font-size: 22px;
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 24px;
}
.pay-tab-pills {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.8);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}
body.light-theme .pay-tab-pills {
  background: #e2e8f0;
}
.pay-tab-btn {
  padding: 10px 24px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.pay-tab-btn.active {
  background: #0f2744;
  color: #38bdf8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
body.light-theme .pay-tab-btn.active {
  background: #ffffff;
  color: #0284c7;
}
.pay-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 680px) {
  .pay-cards-grid {
    grid-template-columns: 1fr;
  }
}
.pay-brand-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
}
.pay-brand-card:hover {
  transform: translateY(-3px);
  border-color: #64748b;
}
.pay-brand-card.active,
.pay-brand-card.selected {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25), 0 8px 24px rgba(56, 189, 248, 0.15) !important;
  background: rgba(56, 189, 248, 0.08);
}
.pay-brand-logo-wrap {
  width: 76px;
  height: 76px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.pay-brand-logo-wrap img,
.pay-brand-logo-wrap svg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.pay-brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}
.pay-instruction-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
  margin-top: 20px;
}
.pay-alert-warning {
  background: rgba(245, 158, 11, 0.12);
  border-left: 4px solid #f59e0b;
  padding: 12px 18px;
  border-radius: 4px 8px 8px 4px;
  color: #fbbf24;
  font-size: 13.5px;
  font-weight: 500;
  margin: 18px 0;
}
body.light-theme .pay-alert-warning {
  background: #fffbeb;
  color: #b45309;
}
.btn-confirm-payment {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.btn-confirm-payment:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* ====================================================================
   4. Language Selector Modal (Matching Image 4 - 22 Languages)
   ==================================================================== */
.lang-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.lang-modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 92%;
  max-width: 860px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.lang-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}
.lang-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.lang-modal-close:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}
.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  padding: 24px;
}
.lang-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
body.light-theme .lang-card {
  background: #f8fafc;
}
.lang-card:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}
.lang-card.active {
  border-color: #20D84D;
  background: rgba(32, 216, 77, 0.12);
}
.lang-flag {
  font-size: 24px;
  line-height: 1;
}
.lang-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

/* ====================================================================
   5. Printable PDF Receipt Styles
   ==================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-receipt-modal, #printable-receipt-modal * {
    visibility: visible;
  }
  #printable-receipt-modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
    border: none !important;
  }
  .no-print {
    display: none !important;
  }
}

/* ====================================================================
   6. Admin Dashboard Multi-Sidebar Layout (Matching Image 3)
   ==================================================================== */
.admin-shell {
  display: flex;
  min-height: 100vh;
  background-color: #070a10;
  color: #e2e8f0;
  position: relative;
}

.admin-sidebar {
  width: 250px;
  background-color: #080c14;
  border-right: 1px solid #1a2333;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  scrollbar-width: thin;
  scrollbar-color: #1e293b transparent;
}

.admin-sidebar::-webkit-scrollbar {
  width: 5px;
}
.admin-sidebar::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

.sidebar-brand {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #1a2333;
  background: #090e18;
}

.sidebar-menu {
  padding: 12px 8px 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-heading {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  padding: 14px 12px 4px;
  user-select: none;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.sidebar-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.sidebar-item.active {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  font-weight: 600;
  border-color: rgba(245, 158, 11, 0.25);
  border-left: 3px solid #f59e0b;
}

.admin-main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #06090f;
}

.admin-topbar {
  height: 64px;
  background: #080c14;
  border-bottom: 1px solid #1a2333;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

.admin-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  border: 1px solid #1e293b;
  padding: 6px 14px;
  border-radius: 9999px;
}

.admin-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.admin-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.admin-greeting {
  font-size: 11px;
  color: #94a3b8;
}

.admin-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.btn-admin-signout {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  margin-left: 6px;
  transition: all 0.2s ease;
}

.btn-admin-signout:hover {
  background: #ef4444;
  color: #ffffff;
}

.admin-content-body {
  padding: 24px 32px 50px;
  flex: 1;
}

/* 13 KPI Stat Cards Grid (Matching Image 3) */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.kpi-card {
  background: #0b101b;
  border: 1px solid #1a2333;
  border-radius: 10px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}

.kpi-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.kpi-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.kpi-value {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 4px;
  letter-spacing: -0.5px;
}

.kpi-sub {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.kpi-badge-blue {
  color: #38bdf8;
  font-weight: 500;
}
.kpi-badge-green {
  color: #20D84D;
  font-weight: 500;
}
.kpi-badge-gold {
  color: #f59e0b;
  font-weight: 500;
}

.kpi-sparkline {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 70px;
  height: 24px;
  opacity: 0.5;
}

.badge-pill-danger {
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 9999px;
}


/* --- Promo Input Group & Image 2 Header Pills --- */
.promo-input-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.promo-input-group input {
  flex: 1;
  background: #030712;
  border: 1px solid #334155;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13.5px;
}
.promo-input-group input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.header-ctrl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  border: 1px solid #334155;
  color: #f8fafc;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.header-ctrl-pill:hover {
  border-color: #38bdf8;
  background: #1e293b;
}
.badge-gb {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 800;
  margin-right: 2px;
}

/* ==========================================================================
   FOOTER QR CODE COMMUNITY WIDGET (Matching Image 3)
   ========================================================================== */
.footer-qr-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-qr-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.footer-qr-title {
  color: #f59e0b;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.3;
}
.footer-qr-accent-bar {
  display: inline-block;
  width: 3px;
  height: 22px;
  background: #f59e0b;
  border-radius: 2px;
  margin-left: 4px;
  flex-shrink: 0;
}
.footer-qr-card {
  background: #0b121e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  display: inline-block;
  margin-bottom: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.footer-qr-card:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
}
.footer-qr-img {
  width: 130px;
  height: 130px;
  display: block;
  border-radius: 8px;
  background: #ffffff;
  padding: 4px;
}
.footer-qr-subtext {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
  max-width: 190px;
}

/* ==========================================================================
   HOMEPAGE TESTIMONIALS & REVIEWS AUTO-SLIDER (Compact & Elegant)
   ========================================================================== */
.section-testimonials {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(32, 216, 77, 0.05) 0%, transparent 60%), #070a12;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 70px;
}
.testimonial-slider-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.testimonial-slider-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 16px;
  padding: 10px 0;
}
.testimonial-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 380px;
  max-width: 380px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 216, 77, 0.35);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(32, 216, 77, 0.1);
}
.testimonial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
}
.testimonial-card-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.testimonial-card-quote {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
.testimonial-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author-info {
  flex-grow: 1;
  min-width: 0;
}
.testimonial-author-name {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testimonial-author-role {
  color: #64748b;
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testimonial-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  color: #20D84D;
  background: rgba(32, 216, 77, 0.1);
  border: 1px solid rgba(32, 216, 77, 0.25);
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.testimonial-nav-btn:hover {
  background: #20D84D;
  color: #050b14;
  border-color: #20D84D;
  transform: translateY(-50%) scale(1.08);
}
.testimonial-nav-prev { left: -10px; }
.testimonial-nav-next { right: -10px; }
.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.testimonial-dot.active {
  width: 24px;
  background: #20D84D;
  box-shadow: 0 0 10px rgba(32, 216, 77, 0.4);
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(100vw - 60px);
    max-width: calc(100vw - 60px);
  }
  .testimonial-nav-prev { left: 5px; }
  .testimonial-nav-next { right: 5px; }
}

/* ====================================================================
   PyDM Pro - Homepage 4-Screenshot Showcase & 8 Core Features
   ==================================================================== */
.home-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
  margin-bottom: 50px;
}
@media (max-width: 900px) {
  .home-showcase-grid {
    grid-template-columns: 1fr;
  }
}
.home-screenshot-card {
  background: #0b0f19;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.home-screenshot-card:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.15);
}
.home-screenshot-img-wrap {
  position: relative;
  background: #030712;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #1e293b;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.25s;
}
.home-screenshot-img:hover {
  transform: scale(1.02);
}
.home-screenshot-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #334155;
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.home-screenshot-zoom {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: #38bdf8;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
}
.home-screenshot-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 12px;
}
.home-screenshot-caption {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 4px;
}

/* 8 Core Features Grid */
.core-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.core-feature-card {
  background: #0b0f19;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 22px;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.core-feature-card:hover {
  border-color: #20D84D;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(32, 216, 77, 0.12);
}
.core-feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.core-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(32, 216, 77, 0.1);
  border: 1px solid rgba(32, 216, 77, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.core-feature-num {
  font-size: 12px;
  font-weight: 800;
  color: #20D84D;
  background: rgba(32, 216, 77, 0.12);
  padding: 2px 9px;
  border-radius: 20px;
  border: 1px solid rgba(32, 216, 77, 0.2);
}
.core-feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.35;
}
.core-feature-desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.6;
  flex-grow: 1;
}
.core-feature-visual-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #38bdf8;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #1e293b;
  cursor: pointer;
}
.core-feature-visual-tag:hover {
  color: #20D84D;
}
