.aim-analysis-page {
  width: 100%;
  padding: 28px;
  box-sizing: border-box;
  color: #f5f7fb;
}

.aim-analysis-header {
  margin-bottom: 24px;
}

.aim-analysis-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(88, 166, 255, 0.16);
  border: 1px solid rgba(88, 166, 255, 0.35);
  color: #8ec5ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.aim-analysis-header h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.aim-analysis-header p {
  margin: 0;
  max-width: 900px;
  color: #9aa4b2;
  font-size: 15px;
  line-height: 1.7;
}

.aim-analysis-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(440px, 1.15fr);
  gap: 20px;
  align-items: start;
}

.aim-analysis-card {
  background: linear-gradient(180deg, rgba(19, 24, 34, 0.96) 0%, rgba(13, 18, 27, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
}

.aim-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.aim-form-group {
  margin-bottom: 18px;
}

.aim-form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #e6edf5;
}

.aim-form-group small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #8d99a8;
}

.aim-form-group input[type="number"],
.aim-form-group input[type="file"],
.aim-form-group select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  outline: none;
  box-sizing: border-box;
}

.aim-form-group input[type="file"] {
  padding: 10px 14px;
  height: auto;
  min-height: 46px;
}

.aim-range-wrap {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 10px;
  align-items: center;
}

.aim-range-wrap input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  appearance: none;
  background: linear-gradient(90deg, #2c3544 0%, #44526b 100%);
  outline: none;
  cursor: pointer;
}

.aim-range-wrap input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #58a6ff;
  border: 2px solid #ffffff;
  cursor: pointer;
}

.aim-resolution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.aim-radio-card {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  box-sizing: border-box;
}

.aim-radio-card input[type="radio"] {
  margin-right: 10px;
}

.aim-inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  min-height: 46px;
  align-items: center;
}

.aim-inline-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #dce4ee;
  cursor: pointer;
}

.aim-form-actions {
  margin-top: 24px;
}

.aim-form-actions button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2f81f7 0%, #58a6ff 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.aim-result-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.aim-media-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
  box-sizing: border-box;
}

.aim-media-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.aim-result-video {
  width: 100%;
  border-radius: 12px;
  background: #0b0f14;
}

.aim-media-empty {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: #9aa4b2;
  font-size: 13px;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  box-sizing: border-box;
}

.aim-preview-box {
  min-height: 120px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top left, rgba(88, 166, 255, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.025);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  box-sizing: border-box;
  margin-bottom: 16px;
}

.aim-preview-placeholder {
  text-align: center;
  max-width: 680px;
}

.aim-preview-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: rgba(88, 166, 255, 0.12);
  border: 1px solid rgba(88, 166, 255, 0.25);
  color: #8ec5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.aim-preview-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.aim-preview-text {
  color: #98a4b3;
  font-size: 14px;
  line-height: 1.7;
}

.aim-recommend-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.aim-recommend-side,
.aim-recommend-main {
  border-radius: 16px;
  padding: 18px 16px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.aim-recommend-side {
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 116px;
}

.aim-recommend-main {
  background: linear-gradient(135deg, rgba(47, 129, 247, 0.22) 0%, rgba(88, 166, 255, 0.08) 100%);
  border: 1px solid rgba(88, 166, 255, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 116px;
}

.aim-recommend-side span,
.aim-recommend-main span {
  display: block;
  font-size: 13px;
  color: #9fb0c5;
  margin-bottom: 10px;
  font-weight: 700;
}

.aim-recommend-side strong {
  font-size: 24px;
  color: #ffffff;
  font-weight: 800;
}

.aim-recommend-main strong {
  font-size: 48px;
  line-height: 1;
  color: #ffffff;
  font-weight: 900;
}

.aim-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.aim-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

.aim-summary-item .label {
  font-size: 14px;
  color: #9aa6b4;
  font-weight: 600;
}

.aim-summary-item strong {
  font-size: 15px;
  color: #ffffff;
  font-weight: 800;
}

.aim-result-note {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(88, 166, 255, 0.08);
  border: 1px solid rgba(88, 166, 255, 0.16);
}

.aim-result-note-title {
  font-size: 14px;
  font-weight: 800;
  color: #dceeff;
  margin-bottom: 6px;
}

.aim-result-note p {
  margin: 0;
  color: #d7e7fb;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1200px) {
  .aim-analysis-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .aim-result-media-grid,
  .aim-summary-grid,
  .aim-resolution-grid,
  .aim-recommend-hero {
    grid-template-columns: 1fr;
  }

  .aim-range-wrap {
    grid-template-columns: 1fr;
  }

  .aim-analysis-page {
    padding: 18px;
  }

  .aim-recommend-main strong {
    font-size: 40px;
  }
}