:root {
  --bg-primary: #111318;
  --bg-card: #1a1d24;
  --bg-elevated: #20242c;
  --border: #3a3d43;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --gold: #f5c542;
  --gold-bright: #ffdc62;
  --gold-dark: #c99a1d;
  --gold-soft: rgba(245, 197, 66, 0.14);
  --text: #eef2f7;
  --text-muted: #bac2d0;
  --success: #2dd4bf;
  --success-soft: rgba(45, 212, 191, 0.14);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.42);
  --font-sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 197, 66, 0.09), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(45, 212, 191, 0.06), transparent 36%),
    var(--bg-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  color: var(--gold-bright);
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.text-gold {
  color: var(--gold);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 19, 24, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 72px;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--bg-elevated);
  border: 1px solid rgba(245, 197, 66, 0.35);
  padding: 3px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-accent {
  color: var(--gold);
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  background: var(--bg-elevated);
  outline: none;
}

.nav-link-cta {
  color: #111318;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  margin-left: 0.35rem;
}

.nav-link-cta:hover,
.nav-link-cta:focus-visible {
  color: #111318;
  background: linear-gradient(135deg, #ffe580, var(--gold-bright));
}

/* Hero */
.hero-section {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -120px auto auto 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 360px;
  background: radial-gradient(ellipse at center, rgba(245, 197, 66, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid rgba(245, 197, 66, 0.32);
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.2);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero-lead {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 56ch;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.78rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--text);
}

.pill-key {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-bright);
  background: var(--bg-elevated);
  border: 1px solid rgba(245, 197, 66, 0.35);
  padding: 0.1rem 0.42rem;
  border-radius: 5px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.3rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  color: #111318;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 10px 24px rgba(245, 197, 66, 0.22);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: linear-gradient(135deg, #ffe788, var(--gold-bright));
  outline: none;
}

.btn-gold-outline {
  color: var(--gold-bright);
  background: var(--gold-soft);
  border-color: rgba(245, 197, 66, 0.45);
}

.btn-gold-outline:hover,
.btn-gold-outline:focus-visible {
  background: rgba(245, 197, 66, 0.22);
  border-color: var(--gold-bright);
  outline: none;
}

.btn-ghost {
  color: var(--text);
  background: var(--bg-elevated);
  border-color: var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #272c36;
  border-color: rgba(238, 242, 247, 0.35);
  outline: none;
}

/* Download Card */
.download-card {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-top-color: rgba(245, 197, 66, 0.45);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-card);
}

.download-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.card-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.card-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #111318;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  flex-shrink: 0;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.meta-item {
  background: rgba(17, 19, 24, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
}

.meta-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.release-notes-box {
  background: rgba(17, 19, 24, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  margin-bottom: 1.15rem;
}

.release-notes-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.download-actions {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
  margin-bottom: 0.85rem;
}

.btn-download {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.88rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 800;
  color: #111318;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: 1px solid var(--gold-bright);
  box-shadow: 0 12px 26px rgba(245, 197, 66, 0.24);
  transition: transform 0.15s ease, filter 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.btn-download:hover:not(.is-disabled) {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-download.is-disabled,
.btn-download[aria-disabled="true"] {
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-color: var(--border);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.8;
}

.btn-retry {
  flex: 0 0 auto;
  padding: 0.82rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.btn-retry:hover,
.btn-retry:focus-visible {
  background: #282d37;
  border-color: var(--gold);
  outline: none;
}

/* Status States */
.download-status {
  margin: 0 0 1.1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: rgba(17, 19, 24, 0.6);
  color: var(--text-muted);
}

.download-status.is-ready {
  color: var(--success);
  background: var(--success-soft);
  border-color: rgba(45, 212, 191, 0.4);
}

.download-status.is-pending {
  color: var(--gold-bright);
  background: var(--gold-soft);
  border-color: rgba(245, 197, 66, 0.4);
}

.download-status.is-error {
  color: var(--danger);
  background: var(--danger-soft);
  border-color: rgba(248, 113, 113, 0.42);
}

/* SHA-256 Box */
.sha-box {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.sha-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.sha-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.copy-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
}

.btn-copy-sha {
  padding: 0.34rem 0.72rem;
  border-radius: 6px;
  border: 1px solid rgba(245, 197, 66, 0.42);
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.btn-copy-sha:hover,
.btn-copy-sha:focus-visible {
  background: rgba(245, 197, 66, 0.25);
  border-color: var(--gold-bright);
  outline: none;
}

.sha-code {
  display: block;
  width: 100%;
  padding: 0.65rem 0.8rem;
  font-size: 0.78rem;
  line-height: 1.5;
  word-break: break-all;
  color: var(--text);
  background: #12151b;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(26, 29, 36, 0.55), rgba(17, 19, 24, 0.85));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.4rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.section-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature-card {
  grid-column: span 2;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.feature-card:nth-child(4),
.feature-card.feature-card-wide {
  grid-column: span 3;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 197, 66, 0.55);
  background: var(--bg-elevated);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-bright);
  background: var(--gold-soft);
  border: 1px solid rgba(245, 197, 66, 0.35);
  margin-bottom: 1rem;
}

.feature-title {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
}

.feature-desc {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-card);
}

.pricing-card-featured {
  background: linear-gradient(180deg, #222630 0%, var(--bg-card) 100%);
  border-color: rgba(245, 197, 66, 0.65);
  box-shadow: 0 22px 48px rgba(245, 197, 66, 0.1), var(--shadow-card);
}

.featured-ribbon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #111318;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.plan-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  margin-bottom: 0.85rem;
}

.plan-tag-gold {
  color: var(--gold-bright);
  background: var(--gold-soft);
  border-color: rgba(245, 197, 66, 0.4);
}

.plan-name {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.price-amount {
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-sub {
  margin: 0 0 1.35rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin: 0 0 1.65rem;
  padding: 0;
  display: grid;
  gap: 0.72rem;
}

.plan-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.94rem;
  color: var(--text);
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

.plan-cta-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

/* Install & FAQ */
.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.subsection-title {
  margin: 0 0 1.15rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.step-item {
  display: flex;
  gap: 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
}

.step-num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #111318;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.step-body h4 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 700;
}

.step-body p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--text-muted);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}

.faq-item[open] {
  border-color: rgba(245, 197, 66, 0.45);
  background: var(--bg-elevated);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--gold);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Contact */
.contact-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid rgba(245, 197, 66, 0.38);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(17, 19, 24, 0.72);
  border: 1px solid var(--border);
  transition: transform 0.16s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: #232833;
  outline: none;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.contact-handle {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.contact-url {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  word-break: break-all;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.8rem 0;
  background: #0d0f14;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.94rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .pricing-grid,
  .install-layout,
  .contact-banner {
    grid-template-columns: 1fr;
  }

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

  .feature-card,
  .feature-card:nth-child(4),
  .feature-card.feature-card-wide {
    grid-column: span 1;
  }

  .feature-card.feature-card-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .nav-link-cta {
    margin-left: 0;
  }

  .hero-section {
    padding: 2.8rem 0 2.6rem;
  }

  .section {
    padding: 3rem 0;
  }

  .features-grid,
  .release-meta,
  .plan-cta-group,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .download-actions {
    flex-direction: column;
  }

  .contact-banner {
    padding: 1.5rem;
  }
}


/* UI Showcase & Feature Walkthrough */
.showcase-section {
  background: linear-gradient(180deg, rgba(245, 197, 66, 0.03), transparent 28%);
}

.showcase-list {
  display: grid;
  gap: 2.2rem;
}

.showcase-item {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 2rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.showcase-item:hover {
  border-color: rgba(245, 197, 66, 0.45);
}

.showcase-item-reverse {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.showcase-item-reverse .showcase-media {
  order: 2;
}

.showcase-item-reverse .showcase-content {
  order: 1;
}

.showcase-zoom-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: #0d0f14;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.showcase-zoom-btn:hover,
.showcase-zoom-btn:focus-visible {
  border-color: var(--gold);
  transform: translateY(-2px);
  outline: none;
}

.showcase-zoom-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.86);
  border: 1px solid rgba(245, 197, 66, 0.45);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.showcase-content {
  padding: 0.25rem 0.35rem;
}

.showcase-tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.26rem 0.68rem;
  border-radius: 999px;
  background: rgba(245, 197, 66, 0.12);
  border: 1px solid rgba(245, 197, 66, 0.35);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.showcase-title {
  margin: 0 0 0.75rem;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.showcase-desc {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.showcase-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.showcase-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  color: var(--text);
}

.showcase-points li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}

/* Lightbox Modal */
.lightbox-modal[hidden] {
  display: none;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1120px, 95vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid rgba(245, 197, 66, 0.45);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.92);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 5.5rem);
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-caption {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (max-width: 920px) {
  .showcase-item,
  .showcase-item-reverse {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.15rem;
  }

  .showcase-item-reverse .showcase-media,
  .showcase-item-reverse .showcase-content {
    order: initial;
  }
}
