/* WYSWNBUAY Windows — Content styles for each window */

/* Startup Screen */
.startup-screen {
  position: fixed;
  inset: 0;
  background: var(--platinum);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.startup-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.startup-icon svg,
.startup-icon img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.startup-text {
  font-size: 18px;
  color: var(--black);
  margin-bottom: 16px;
}

.startup-progress {
  width: 200px;
  height: 12px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 6px;
  overflow: hidden;
}

.startup-progress-bar {
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--black) 0px,
    var(--black) 8px,
    transparent 8px,
    transparent 12px
  );
}

/* Hero Content */

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--black);
}

.hero-emphasis {
  display: block;
  color: var(--apple-blue);
}

.hero-tagline {
  font-size: 18px;
  line-height: 1.5;
  color: var(--gray-dark);
  margin-bottom: 24px;
}

.hero-cta {
  margin-bottom: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-system);
  font-size: 20px;
  color: var(--black);
  background: var(--platinum);
  border: 2px solid var(--black);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    4px 4px 0 var(--black),
    inset -2px -2px 0 var(--gray-mid),
    inset 2px 2px 0 var(--white);
  transition: transform 0.1s;
}

.btn-primary:hover {
  background: var(--white);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow:
    2px 2px 0 var(--black),
    inset 2px 2px 0 var(--gray-mid),
    inset -2px -2px 0 var(--white);
}

.btn-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}

.hero-note {
  font-size: 16px;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* Price Slider */

.price-slider-container {
  margin-bottom: 16px;
  padding: 16px;
  background: var(--white);
  border: 2px solid var(--black);
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.price-display {
  text-align: center;
  margin-bottom: 12px;
}

.price-amount {
  display: block;
  font-size: 32px;
  font-weight: bold;
  color: var(--black);
}

.price-comment {
  display: block;
  font-size: 16px;
  color: var(--gray-dark);
  margin-top: 4px;
  min-height: 40px;
}

.price-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 16px;
  background: var(--platinum);
  border: 2px solid var(--black);
  border-radius: 0;
  cursor: pointer;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 24px;
  background: var(--platinum);
  border: 2px solid var(--black);
  border-radius: 0;
  cursor: grab;
  box-shadow:
    inset -2px -2px 0 var(--gray-mid),
    inset 2px 2px 0 var(--white);
}

.price-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  box-shadow:
    inset 2px 2px 0 var(--gray-mid),
    inset -2px -2px 0 var(--white);
}

.price-slider::-moz-range-thumb {
  width: 20px;
  height: 24px;
  background: var(--platinum);
  border: 2px solid var(--black);
  border-radius: 0;
  cursor: grab;
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--gray-mid);
  margin-top: 4px;
}

/* Features List */

.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #C9C4B8;
  border: 1px solid var(--gray-light);
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

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

.feature-text strong {
  font-size: 18px;
  color: var(--black);
}

.feature-text span {
  font-size: 16px;
  color: var(--gray-dark);
  line-height: 1.5;
}

/* How It Works */

.how-steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 32px;
}

.how-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--platinum);
  border: 2px solid var(--black);
}

.how-arrow {
  display: none;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--black);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {
  text-align: left;
}

.step-key {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 2px;
}

.step-key kbd {
  display: inline-block;
  padding: 2px 6px;
  background: var(--white);
  border: 1px solid var(--black);
  font-family: var(--font-system);
  font-size: 16px;
  box-shadow: 2px 2px 0 var(--gray-mid);
}

.step-content p {
  font-size: 16px;
  color: var(--gray-dark);
  line-height: 1.5;
}

/* Demo Section */
.how-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.demo-box {
  width: 100%;
  padding: 16px;
  background: var(--white);
  border: 2px solid var(--black);
}

.demo-label {
  font-size: 14px;
  color: var(--gray-mid);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.demo-text {
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.6;
}

.demo-text.spoken {
  color: var(--gray-dark);
  font-style: italic;
  border-right: 2px solid var(--black);
  padding-right: 4px;
}

.demo-text.polished {
  color: var(--black);
}

.demo-arrow {
  display: flex;
  justify-content: center;
}

.demo-arrow img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Feedback Window */

.feedback-content {
  text-align: center;
  padding: 32px 24px;
}

.feedback-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-dark);
}

.trash-link {
  color: var(--apple-blue);
  text-decoration: underline;
  cursor: pointer;
  font-weight: bold;
}

.trash-link:hover {
  color: var(--black);
}

/* Trash Window */

.trash-content {
  text-align: center;
  padding: 24px;
}

.trash-icon-large {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}

.trash-icon-large img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.trash-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-dark);
  margin-bottom: 16px;
}

.email-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--apple-blue);
  text-decoration: underline;
  padding: 8px 16px;
  background: var(--platinum);
  border: 2px solid var(--black);
}

.email-link:hover {
  background: var(--white);
  color: var(--black);
}

/* Error Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
}

.error-window {
  width: 340px;
  position: relative;
}

.error-content {
  text-align: center;
  padding: 24px;
}

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

.error-message {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.btn-ok {
  padding: 8px 32px;
  font-family: var(--font-system);
  font-size: 16px;
  background: var(--platinum);
  border: 2px solid var(--black);
  cursor: pointer;
  box-shadow:
    2px 2px 0 var(--black),
    inset -2px -2px 0 var(--gray-mid),
    inset 2px 2px 0 var(--white);
}

.btn-ok:hover {
  background: var(--white);
}

.btn-ok:active {
  transform: translate(1px, 1px);
  box-shadow:
    1px 1px 0 var(--black),
    inset 2px 2px 0 var(--gray-mid),
    inset -2px -2px 0 var(--white);
}

/* Video Demo Button */
.btn-demo {
  margin: 12px auto 20px;
  display: block;
  font-size: 18px;
  padding: 10px 24px;
}

/* Video Demo Modal */
.video-window {
  width: 400px;
  max-width: 90vw;
  position: relative;
}

.video-content {
  padding: 0;
}

.video-container {
  position: relative;
  padding-bottom: 177.78%;
  height: 0;
  overflow: hidden;
  background: var(--black);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Tiny Screen Fallback — mobile layout handled by mobile.css */
.tiny-screen-alert {
  display: none;
}
