/* Home landing sections — mirrors ElectrikDesk masterserver-php home.php */
.hero-grid {
  max-width: 1200px; margin: 0 auto; padding: 64px 24px 60px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-accent-soft); color: var(--c-accent-text);
  padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero-h1 {
  font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 24px; color: var(--c-heading);
}
.hero-h1 em { font-style: normal; color: var(--c-accent); }
.hero-p {
  font-size: 19px; line-height: 1.6; color: var(--c-muted);
  max-width: 480px; margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--c-muted-3); margin-top: 18px; }
.hero-visual { position: relative; }

.shot-frame {
  margin: 0;
  background: var(--c-surface);
  border-radius: 14px;
  border: 1px solid var(--c-border-soft);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.shot-img {
  width: 100%;
  height: auto;
  display: block;
}
.shot-zoom {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  font: inherit;
  color: inherit;
  text-align: left;
}
.shot-zoom:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}
.shot-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: oklch(0% 0 0 / 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.shot-zoom:hover .shot-zoom-hint,
.shot-zoom:focus-visible .shot-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .shot-zoom-hint {
    opacity: 0.9;
    transform: none;
  }
}
.hero-visual .shot-frame {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center right;
}

/* Screenshot lightbox / shadow box */
.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.shot-lightbox[hidden] {
  display: none !important;
}
.shot-lightbox.is-open {
  animation: shot-lightbox-in 0.18s ease-out;
}
.shot-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(10% 0.02 260 / 0.72);
  backdrop-filter: blur(6px);
}
@keyframes shot-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.shot-lightbox-panel {
  position: relative;
  z-index: 1;
  max-width: min(1200px, 96vw);
  max-height: 92vh;
  margin: 0;
  border-radius: 14px;
  border: 1px solid var(--c-border-soft);
  background: var(--c-surface);
  box-shadow: 0 40px 80px -20px oklch(0% 0 0 / 0.55);
  overflow: auto;
}
.shot-lightbox-panel img {
  display: block;
  max-width: min(1200px, 96vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--c-surface);
}
.shot-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: oklch(0% 0 0 / 0.55);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}
.shot-lightbox-close:hover,
.shot-lightbox-close:focus-visible {
  background: oklch(0% 0 0 / 0.75);
  outline: none;
}
.shot-lightbox-close:focus-visible {
  box-shadow: 0 0 0 2px #fff;
}

.float-chip {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--c-surface); border: 1px solid var(--c-border-soft); border-radius: 12px;
  padding: 14px 18px; box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 10px;
  z-index: 1;
}

.shots-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 80px;
  scroll-margin-top: 80px;
}
.shots-intro { max-width: 620px; margin: 0 0 40px; }
.shots-intro h2 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700; letter-spacing: -0.01em; margin: 0 0 14px; color: var(--c-heading);
}
.shots-intro p { font-size: 17px; color: var(--c-muted); line-height: 1.6; margin: 0; }
.shots-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.shot-card { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.shot-card .shot-frame { box-shadow: var(--shadow-card); }
.shot-card figcaption {
  display: flex; flex-direction: column; gap: 6px;
  padding: 0 4px;
}
.shot-card figcaption strong {
  font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--c-heading);
}
.shot-card figcaption span {
  font-size: 14.5px; color: var(--c-muted); line-height: 1.55;
}

/* Archived concept mocks (website/concepts/*) */
.layout-mock {
  aspect-ratio: 16/10;
  background: linear-gradient(160deg, oklch(96% 0.01 250), var(--c-accent-soft));
  padding: 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 0.75fr;
  gap: 10px;
}
[data-theme="dark"] .layout-mock {
  background: linear-gradient(160deg, oklch(24% 0.03 260), var(--c-accent-soft));
}
.tile {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 0;
}
.tile-a { grid-row: 1 / 3; }
.tile-name {
  font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--c-heading);
}
.tile-meta { font-size: 11px; color: var(--c-muted-3); margin-top: 4px; }
.tile-tag {
  align-self: flex-start;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--c-accent-text); background: var(--c-accent-soft);
  padding: 4px 8px; border-radius: 6px;
}
.arranger-mock {
  aspect-ratio: 16/10;
  background: var(--c-bg);
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 280px;
}
.arranger-side {
  border-right: 1px solid var(--c-border-soft);
  padding: 14px 12px;
  background: var(--c-surface);
}
.arranger-side-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--c-muted-3); margin-bottom: 10px;
}
.arranger-row {
  font-size: 12px; padding: 8px 8px; border-radius: 7px; color: var(--c-text);
  margin-bottom: 4px;
}
.arranger-row.active { background: var(--c-accent-soft); color: var(--c-accent-text); font-weight: 600; }
.arranger-canvas {
  position: relative;
  background:
    linear-gradient(var(--c-border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-border-soft) 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 24px;
}
.arranger-screen {
  position: absolute;
  border: 2px solid var(--c-accent);
  border-radius: 6px;
  background: oklch(100% 0 0 / 0.7);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--c-heading);
}
[data-theme="dark"] .arranger-screen {
  background: oklch(25% 0.02 260 / 0.85);
}
.as1 { left: 10%; top: 18%; width: 42%; height: 58%; }
.as2 { left: 56%; top: 14%; width: 30%; height: 36%; }
.as3 { left: 56%; top: 56%; width: 30%; height: 28%; }

.features-wrap { max-width: 1200px; margin: 0 auto; padding: 80px 24px; scroll-margin-top: 80px; }
.features-intro { max-width: 620px; margin: 0 0 52px; }
.features-intro h2 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700; letter-spacing: -0.01em; margin: 0 0 14px; color: var(--c-heading);
}
.features-intro p { font-size: 17px; color: var(--c-muted); line-height: 1.6; margin: 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 28px;
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--c-accent-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-card h3 {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  margin: 0 0 8px; color: var(--c-heading);
}
.feature-card p { font-size: 14.5px; color: var(--c-muted); line-height: 1.55; margin: 0; }

.callout-wrap { max-width: 1200px; margin: 0 auto 24px; padding: 0 24px; }
.callout-dark {
  background: var(--c-dark); border-radius: var(--radius-xl); padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.callout-dark .eyebrow {
  font-size: 13px; font-weight: 600; color: oklch(75% 0.1 260);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px;
}
[data-accent="wire"] .callout-dark .eyebrow { color: oklch(75% 0.1 200); }
.callout-dark h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700; color: white; margin: 0 0 16px; letter-spacing: -0.01em;
}
.callout-dark p { font-size: 16px; color: var(--c-dark-muted); line-height: 1.65; margin: 0 0 24px; }
.callout-dark ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.callout-dark li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--c-dark-muted); font-size: 15px;
}

.callout-light {
  border: 1px solid var(--c-border); border-radius: var(--radius-xl); padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--c-surface);
}
.callout-light .eyebrow {
  font-size: 13px; font-weight: 600; color: var(--c-accent);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px;
}
.callout-light h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--c-heading); margin: 0 0 16px; letter-spacing: -0.01em;
}
.callout-light p { font-size: 16px; color: var(--c-muted); line-height: 1.65; margin: 0 0 24px; }

.diagram-box {
  border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 460/280;
  background: linear-gradient(135deg, var(--c-bg), var(--c-accent-soft));
  display: flex; align-items: center; justify-content: center; padding: 2rem; text-align: center;
}
.diagram-box .big {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  color: var(--c-heading); letter-spacing: -.03em;
}
.diagram-box .sub { font-size: 15px; color: var(--c-muted); margin-top: 8px; }

.cta-banner { max-width: 1200px; margin: 0 auto 96px; padding: 0 24px; }
.cta-banner-inner {
  background: var(--c-accent); border-radius: var(--radius-xl); padding: 64px; text-align: center;
}
.cta-banner-inner h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700; color: white; margin: 0 0 14px; letter-spacing: -0.01em;
}
.cta-banner-inner p { font-size: 16px; color: oklch(92% 0.03 260); margin: 0 0 32px; }
[data-accent="wire"] .cta-banner-inner p { color: oklch(94% 0.03 200); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 48px 24px 40px; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .hero-visual .shot-frame { transform: none; }
  .float-chip { left: 12px; bottom: -16px; }
  .features-grid { grid-template-columns: 1fr; }
  .shots-grid { grid-template-columns: 1fr; }
  .callout-dark, .callout-light { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }
  .callout-light .diagram-box { order: -1; }
}
